Better handling of JSON dmpos, including utf-8 output.
Initialization for JSON encoder moved to a new function.
Unit test for Period.
Added test for ActivityList.
Added get_ages method to ActivityList.
New class ActorsDuration.