Implement app_events for /v3/processes

* ProcessRepository now fetches associated objects eagerly in order to
  prevent unnessesary queries.
* Use Sequels prefered method of locking objects for update
* AppProcessAccess methods now take a space to prevent database queries.
* App.audit_hash was moved to the app_event_repository as it was only
  being used in that class.

[#82275346]