Putting the layersconfig in the loader as it previously was.

Note: this is a quick fix, as the loader is never cached.
minify the loader + add a versioned url
Merge pull request #530 from geoadmin/fix_loaders_layerconfig

Putting the layersconfig in the loader as it previously was.