More server stuff:
- Added browser based tests (more to follow at some point)
- Improved message format and sending
- Fixed various things/cleaned stuff up a bit
Merge branch 'master' of github.com:hyperkerfuffle/824