Upgraded Kadira dependency.
Added lastActivity field to entities. Fixes #476