Added groundworks for SpinBasis

The helper.cpp file contains all classes that help building the full
spin basis.
Added some doc to helper file