Associate api error detail with model error message

@lgebhardt @dgeb @sineed 
Hi, I'm not quite sure about `path`.. shouldn't it be `"/#{element[0]}"` instead of `"\\#{element[0]}"`?

Probably related to https://github.com/json-api/json-api/pull/281