Adding error exit code on failed tests

GitHub #14
Adding aliases to commonly used classes
Changing docs to use the aliased classes and decorators
Trying to fix LaTeX doc generation