fixes #31: basic pub/sub

- added message switch to router
- basic unittests for pub/sub
- also added README and doc.go