Introduce error elements.

Closes #7.

This was taken basically wholesale from [Collection+JSON](http://amundsen.com/media-types/collection/format/#objects-error)

/cc @wycats