Don't add filter for advertised layers when not GetCap request
Merge pull request #552 from smithkm/advertised_filter_when_needed

Remove filter from catalog query when not needed. Fixes GEOS-6398