[api] Use view engine to show HTML pages
[api] Basic support for calling methods against instances
[api] POST and PUT can either create or update
[api] [minor] Added a few comments to the api resource
[api] [minor] Make JSON responses have an indent level of 2
[api] GETing a method should not execute it; instead, it returns the method schema
[api] [test] Tests conform to new behavior for PUT/POST for CRUD actions and GETs on methods