Use HM Rewrites to register an endpoint at `/of/*`
Log events to the database.

An event currently has these fields: id, event, detail, message, host, timestamp.

I originally went down the route of using uuids for the PK but, for best performance, they should be stored in binary. This makes them more difficult to deal with.

'host' isn't stored correctly at the moment.