Merge branch 'mp-add_rcp_example' into dev-mp
Add event handler
Add event handler test case
Optimize client tests
Merge branch 'mp-add_license_header' into mp-client_event_handler
Merge branch 'dev' into mp-client_event_handler
Add pub/sub example
Rename hooks to handlers
Restructure to put API functions at top
Fix argument name
Add pub/sub handlers
Add pub/sub test
Fix error when no handler was defined
Make tests work by not using same handler name
Rename topic to uri
Add calling of publish handler
Add tests for publish handler
Use real error in call result
Merge branch 'mp-client_event_handler' of github.com:maxpersson/turnpike into mp-client_event_handler
Merge pull request #24 from maxpersson/mp-client_event_handler

Add client event handler