Fixing and improving QR manager
QR enables a quick access to the full problem hessian which is not the case with the ceres manager which can be useful for debugging. Since it has not been used for a while it needs to be updated with the more recent API changes.