make the layer filtering in wms getcapabilty configurable

because if there are too many layer, the GET query will be longer than Apache limit