Integrates timeline template.
Merge branch 'master' into bug_1918
Adds API for presence_start_end and tests.
Improves imports and PEP8 compliance.
Merge pull request #4 from rszalski/bug_1918

Bug 1918 - adds template, API and tests for presence start and end.