Modify Offline module API
Created by: bbert
This PR modifies the Offline module API in order to access offline module using MediaPlayer.getOfflineController()
Types have been declared in index.d.ts to resolve issue #3261 (closed)
JSDoc has also been fixed