Feature cascaded stored query

Here's the pull request for the changes required to support cascaded Stored Query requests via WFS-NG. There is a related pull request to GeoServer. This change has been discussed on geoserver-devel.