CC-5651: Unit Test the Scheduler

* Improved bootstrapping, fixed a bunch of errors
* Start a session, got Zend_Application working
CC-5651: Unit Test the Scheduler

* Comments