Remove dead code.
Forgot to document WS API change.
Start factoring out Sinatra methods.

The Inspector helpers have now been moved to inspector.rb.