Revert "constrained wms layers to getcaps ranges"

This reverts commit e0a3f46ca17867f5b03d1503b04be01efc5471b4.