Refactoring exceptions, added MappingErrors and FieldError
Fixed tests after changes to exceptions.