Remove Revision and Session model, rather handle these in Event and Content.
Include type fields in Agent model. Add Events to rebuild script.
Reverse order of events in API output.