mm: writeback: Add dynamic writeback

Every 600ms the writeback daemon kicks in and flushes
the dirty pages into disk. With this patch this happens
every 500ms but only when the screen is off and is disabled
when you actually use your phone.

Credit goes to franciscofranco.