Added persistence.xml.
Added @JsonIgnore to AuditEvent reference in Attachment.