Validationerror context

Moving this to a pull for easier tracking of changes. Adds more attributes to `ValidationError` as discussed in #79