Merge pull request #52 from vasichkin/master

ActivityLog behavior fixed, other improvements
Fix activitylog unittests