Add devise_lastseenable for user last seen tracking.

Adds a timestamp to user model which is touched when user comes back. Statistics active users counts now use these more reliable timestamps. Fixes #4734