Services API: Allow the use of RecordedId for all Recording endpoints

The use of ChanId and StartTime is deprecated and will be removed in a
future version.

The major API version of the DVR and Content services has been
increased to 6 and 2 respectively.

The Scripting API drops ChanId and StartTime since that is currently
only used by the WebFrontend.
WebFrontend: Comment out an uncommitted script.
Services API: Enable use of RecordedId with GetRecordSchedule to return the rule which created that recording and using the metadata associated with that recording.
WebFrontend: Tweak the behaviour of the schedule editor depending on whether it's called for an upcoming recording, an existing recording or a recording rule. This isn't exactly ideal, but I didn't want to change the behaviour of the Services API GetRecordSchedule to achieve what we want, at least not at this stage.
Convert the http server to use QTcpSocket. There are some bug fixes and minor improvements included.
Reword log string, comma was in the wrong place.
Include missing header in upnpsubscription.cpp
Fix file streaming.
Add Qt Script Debugger for Windows Builds

The debugger requires mythbackend to use QApplication instead of QCoreApplication.
If you wish to use the debugger in linux, remove all conditions included in this commit and change main.cpp in mythbackend to use QApplication.
Handle Script Exceptions generated in QObjects

Linux & Windows handle the catching of exceptions differently when generated by a QScript.
This code protects all code paths on both environments.

NOTE: This commit only implements fix for Dvr service.  The remaining services will be fixed in a future commit.
Add Exception Handling to remaining Scriptable Service classes
AVFD: Rescan audio stream when detecting audio change even when passthrough.
Also don’t drop the audio packet when a change occurs.
AVFD: Do not force the number of channels for AC3

Honestly, I can’t fully recall what it was ever there for. I remember something to do with properly detecting channel changes, but it doesn’t appear to make a difference anymore.
AO: Do not reset audio card if we can continue to passthrough with current configuration.

A channel number change while doing passthrough doesn’t usually require a reset of the audio card. Avoid it if we can.
This could be further extended, so we only reset the card if absolutely necessary
Playback: digital passthrough changes.

We use to always decode stereo so enabling upmixing on the fly was possible.

Change in behaviors and capabilities
* Now will bitstream even stereo signal.
* allows to upmix digital stereo and revert back to bitstreaming once disabled once again
UPnP: Add DLNA profile info to the supported protocols returned by the media server. This is a bit of a hack for now but it may resolve some DLNA clients not listing the MythTV server.
WebFrontend: Fix displaying the link to the deleted recgroup when there are deleted recordings.
WebFrontend: Connect to services.mythtv.org via https
Convert the http server to use QTcpSocket. There are some bug fixes and minor improvements included.
Reword log string, comma was in the wrong place.