added models for entity events
added triggers for determining when the is_active flags are changed on entities. Two basic tests pass
modified the trigger to use the clock timestamp rather than now() since now() is relative to the start of a transaction
updated migrations for entity relationship activation events. Added trigger for relationship activations and tests
added function for retrieving entity history for sub entities of various super entities
added tests for entity activation events
updated docs
updated docs