maciejcwiek/commhub — pull request #2 by maciejcwiek (2014-07-24 12:03:04+00:00)
Title: Mostly changed specs; slight changes to CommunicationHub and EventRouter.

CH:
Renamed _interceptorFactory -> interceptorFactory
Renamed invokeInterceptor method -> invokeInterceptors

ER:
Added router reset method, to give the ability to clear all routes.
Added a safeguard for data type of a flag passed to toggleRoute to ensure boolean.