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
Merge branch 'mp-server_pubsub_handlers' into dev-mp