Upgrade to OpenLayers 3.0.0