jshint fixes
logic bug :(
add tests for server.registerPlugin
break tests into smaller scripts
test coverage, it's a good thing ™