Refactor

 - create method `handleSessionActivity` in system Moodel
 - place `if(Kadira.connected)` after calling original method
Refactor handleSessionActivity

Use this function to handle all session activity.
Fix tests