Solved the problem where cherrypy engine does not exit.

Used the setUp and tearDown methods to invoke the server instead of putting
it outside of the test case class.
Start fix on UnboundExecutionError.

If you noticed, our current config map does not have any details on the db
connection we intend to use. Abstract this into the engine parameter to be
passed to the DBSessionTool.