[C++] Move space operation to new class LieGroup and inherited classes.
* The spaces taken into account are SO1, SO3, SE1, SE3, vector spaces * and Cartesian product of two of them.
* The spaces taken into account are SO1, SO3, SE1, SE3, vector spaces * and Cartesian product of two of them.