updated template config
Fix OpenLayers.Format.XML.write bug in IE
merge stable into master