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