Bug 1070858: [AppUsageMetrics] Track online status through navigator.onLine

https://bugzilla.mozilla.org/show_bug.cgi?id=1070858