WFS 2.0 cascaded stored query

Support for cascaded stored query backed layers from wfs-ng datastores.
This was a merge artifact. Will be solved as I push a rebased version of the tree.