Draft: add new method getmatptr
up to now the AssembledOperator only gave access to the matrix as a reference. This was problematic when the matrix need to be forwarded to/ reused b a direct solver, preconditioner, etc.
We now provide an additional method getmatptr which gives directly access to the shared_ptr.
See also the discussion in !453 (merged)