Unit Tests

Ported all known unit tests from the python and ruby bindings into qless core to help ease building and maintaining language-specific bindings.