Updated swagger-ui to 2.0

This commit moves support to swagger 2.0, and enables modeling the specification in http://editor.swagger.io.  In addition, the definition of the api is now in the spec.js, which means it doesn't need to load the definition via ajax call.  Finally, the host is relative to the server, rather than being hard coded.