Fix for Google Maps issue https://hub.qgis.org/issues/11700

Tested on QGIS 2.4 (Windows 7 64bit and Linux) + QGIS 2.6 (Linux)

It seems updating to the latest OpenLayers version fixed the issue.
I also had to make a small update to the html for layers other than Google Maps (or they would not display anything when zoomed out at the whole Earth level)