LAYERS can be undefined
Add misssing queryLayers attribute
Merge pull request #541 from camptocamp/fix-querylayers

Fix querylayers
Don't use the already built code for downloadify. Avoids errors with compress=True builts on IE.
Merge pull request #545 from pgiraud/kml_export_downloadify_1.3

Don't use the already built code for downloadify. Avoids errors with compress=True builts on IE.
Merge remote-tracking branch 'origin/1.3'

Conflicts:
	core/src/script/CGXP/plugins/GetFeature.js
	core/src/script/CGXP/widgets/tree/LayerTree.js