Moves test cases and refactors them to be junit compatible
Implements a basic database connection and session handling

DatabaseConnectionFactory handles pooling connections and maximum connection limits
Switches to java 7 try resource syntax
Switches to java 7 try resource syntax and starts the reaper!