test and fix for GEOT-4706
Merge branch 'master' of github.com:geotools/geotools into wms
Merge pull request #369 from ianturton/wms

Fix for GEOT-4706 null pointer for poorly formed WMS Capabilities documents