add/fix/test WmsLayer advertised and enabled atts

This would supersede #88

cc @garnertb added the tests and found there was some tweaking to do yet