go-restful breakage and server testing

This PR contains some fixes for go-restful compatibility (we really do need to figure out how to fix a version) and some tests for the server.

There's some code repetition in the tests, but I think we can merge first and refactor later when we have more code. Let me know if you disagree.