Fixed a bug with search results grid hide. Added autoActivateSearchGeome...

This is bug fix and a first implementation of the autoActivateSearchGeometryLayer option.

If set, will make sure that the layer for the search results is
visible. This feature will work out of the box if PHP scripts are
used. Needs a 'searchtable' = layer name like in PHP scripts implementation.

It shouldn't be hard to adapt for the wsgi use case....

If the 'searchtable' is not a valid layer name, it should fail gracefully.