Update Visual Studio Support

* Split MINGW into Win32, MinGW and Msvc specific implementations.
* Qt 5.1 changes to remove use of deprecated methods
* Msvc specific changes.
* Introduced Platform directory for platform specfic files.
Add missing header file.
Merge branch 'master' into personal/dblain/msvc
Clean up MSVC compile issues since last merge from master.
Silence compiler warning about int-uint comparison
Regenerate GB English after 6083d0876b501dbd45ef63066dae96441c650b01

Refs # 11742
Updated Germand MythFrontend, MythGallery, MythGame, MythMusic,
MythNews and MythWeather translation from Florian Bittner

Thank you Florian!

Closes #11736

PS: Sorry for the delayed commit, my main PC hard drive blew up
and the PC I use to get my emails has no filters in place and
everything ends up in the same place so I didn't see this ticket...

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
Automatically delete metadatafactory when its parent gets deleted.

There are various leaks in libmythmetadata. This changes only fixes one of them. Ref #11754

Fixes #11751
Fix DVR::AddRecordSchedule() to save the start/end times.

Fixes #11753
add index to improve mythfilldatabase performance

fix index documentation of related index while here

slipping it in before the beta is cut as per discussion at
http://irc.mythtv.org/ircLog/channel/4/2013-08-15:19:25

Fixes #11282
Updated Full Italian translation from Morris Cavestro

Thank you Morris!

Closes #11755

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
MythCenter-wide: fix mismatched tag error added in 27cd3e27b0
Updated Greek MythFrontend, MythGallery and MythMusic translation
from Yianni Vidalis!

Thank you Yianni!

Closes #11762

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
strip IMI from CRID to unbreak duplicate matching

Refs #11757
extend unit test to avoid a regression (CRID without IMI)
Don't show the "Preset tuner to channel" option in mythtv-setup, if the
input type is not a tuner.

Fixes #11761
fix more DVR service issues.

I could have sworn I'd tested this all better, but thinking back, I
think I mainly focused on recurring rules with UpdateRecordSchedule()
and assumed AddRecordSchedule() also worked since they are almost
identical.

Fixes #11753
Disable database logging by default.

It can be re-enabled using --enable-dblog

Until we actually start using this data somewhere there is not much
point in storing it. Since it's already known that writing to the
database can affect I/O performance, especially where drives are
shared with recordings, this could potentially even cause a positive
feedback loop. The I/O starvation causes the backend to start logging
slow read/write warnings, which in turn increase the writes to the
database exacerbating the problems.

The same problem is also true, to a greater or lesser extent with file
based logging but we actually need the file logs so there isn't much
we can do there.
Setting VERSION to v0.27-beta
Allow to do delete on a reference counted object if the reference counter is 1.