code formated
function 'changeLayerState' added
Merge branch 'develop' of github.com:mapbender/mapbender into develop