fix bug where last snapshot wasn't being recorded in db and time incrementing subtly wrong
added some snapshotting tests and fixed Timer EarlyTerm test by doing time_-1 as sim EndTime for final record
Merge branch 'rwcarlsen-snap' into develop