* add audit factory skeleton
* add additional audit events
* add more audit logs
* delete account join request when redeeming an invite
* add audit event for account request removed
* wip api to fetch audits
* add check for audit with public access and entitlement
* fix issues with merge
* add docs for audit logs
* add proper audit log for audit fetch and proper handling of api key hash in audit
* format nit
* feedback
This PR alters the behaviour of the search api (and all apis that depend on it) to return raw source code instead of a base64 encoding. Reasoning: we are decoding it on the client in multiple different places, so it would be beneficial to decode it in a single spot.
**Note**: This is a **breaking change** to the API surface. However, since the API surface is still unofficial/unsupported, I will roll this as a patch version change. See #101