Added better error handling to properly display validation messages. Added errors module to globals. can now do _errors.DatabaseValidationError('msg, validation_codes)