Expose 'is_offline' everywhere in the API, not just in search (bug 861303)

https://bugzilla.mozilla.org/show_bug.cgi?id=861303

Prerequisite to exposing whether an app works offline or not in the UI.