[api] First pass at "strict" tests for api resource
[api] Tests for non-strict mode, and type validation tests for both strict and non-strict modes
[api] Changes to test copy and minor fixes to supertest api calls
[api] Strict mode tests and validation tests passing
[api] Adjustments/fixes for non-strict api tests
[api] Merge options.id into data
[api] Comment out tests for unimplemented functionality (changing id with a call to update)
[api] All api tests pass
[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
[api] [test] Expect proper content-type headers
[api] Set content-type headers
[api] [test] Validation errors should be in result.errors instead of result.validate.errors
[api] Validation errors are now in result.errors instead of result.validate.errors
[api] [test] API calls which create new instances should return status 201