Fix casting issue with querying for multiple ids
Move Mongoose Doc to Resource conversion logic to own function
Handle the case of no docs found
Auto-compile before publish; don't commit compiled files
Unit test Resource, ErrorResource
Resource bug fixes

Specifically, before resources could be set null. Now it’s always an
object.
ErrorResource bug fixes

Make sure we’re coercing fields per the spec
Add ErrorResource::fromError
Handle Query errors
Refactor BaseController (Continued)