First step of integrating fatroom's pull request.

* Merged the pull request
* Minor variable naming fixes to some tests
* Minor javadoc changes
Added first set of TicketConnector unit tests