API support for toggling offline mode

Add an API command to turn offline mode on and off so that only offline media will be played by other commands

Forget to add a comment but API was added, but offline filter is not yet applied to voice commands.