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 pull request #27 from maxpersson/mp-server_pubsub_handlers

Add server pub/sub handlers