Bug 1072075: don't allow system time changes to affect app usage timings

reference bug 1069863 in comments

fix broken unit tests
(cherry picked from commit 0d1b7ded60d52445a7bd27a5a86980dc70980fa1)