Add back two previously removed methods of OfflineMode

- Improves backwards compatibility
- The methods isOfflineModeEnabled and setOfflineModeEnabled are now deprecated
and do nothing

Change-Id: I58315b56b288bf6d111aeb81d57c3319ff6d2e3e