Change away mechanism to be automatic

Users will be automatically marked as away on a varying scale after 10
minutes of write inactivity.
Idle times are now given.
DB changes needed.

Change-Id: I0b28bf326ae4a816ec4dc88aba9ebb51fff6178b
Merge "Change away mechanism to be automatic"