Adds PostEvents mod

Adds PostEvents mod code. Reference implementation of API forthcoming.
Adds PostEvents API implementation

This is sort of poor, and has some inconsistencies, but probably works.
At the least it ought to be a usable and extensible reference implementation
of an API endpoint for the PostEvents mod.