remiprev/her — pull request #101 by remiprev (2013-04-18 14:04:01+00:00)
Title: Store errors and metadata

This adds support for `store_errors` and `store_metadata`, based on [this comment thread](https://github.com/remiprev/her/commit/3c1391c3e4dacba4b24a121ed16767077fbef279#commitcomment-3038365) started by @pencil.

Basically, it allows us to do this:

```ruby
class User
include Her::Model

store_errors :errors # default is :response_errors
end
```

and override the `errors` method provided by `ActiveModel::Validations` and make it returns the value of `@response_errors`, which is the errors returned by the API.