Add background sync interval, based on page visibility (refs #462)
Merge branch 'feature/462-page_visibility'