Add a custom version for messagepack again
Major refactoring

* Added user-extensible messages (useful for communication within or with other
  plugins)
* Added first draft for a low-level plugin API
* Split some modules
* Implemented handling for more messagepack RPC messages