Add idle module

Keeps track of the user idle time. It's not very precise, though. May be
of little usefulness.