Add session support (fixes #611)
use modification time for version timestamp; change version format to filename~yyyymmdd-hhmmss
Merge remote-tracking branch 'origin/pr/646'

* origin/pr/646:
  Add session support (fixes #611)
Cleanup imports in previous