Adding some tests.
Clean up some bus stuff. SelfHandling contract.
Typos in Hub class docblocks

Signed-off-by: Graham Campbell <graham@mineuk.com>
DocBlock corrections and typo fixes

Signed-off-by: Graham Campbell <graham@mineuk.com>
Fixed minor issues in the start session middleware
Minor fixes
More docblock fixes
Removed yoda comparison
Fixed some closure docblocks