[#3073] Define filter() in Decompress filter

- and have it mimic __invoke()
Added test for #3454.
Fix #3454.

The fix involves forcing a loop through the parent resources when the
current resource is 'TYPE_DENIED'. The loop stops when we are already at
the top-level resource.
Ensure privilege escalation is not possible.

With the previous version, a deny() on a lower-lever resource was not
inherited when on a higher-lever resource an allow() was given.

See the updated test for more an example.
Ensure all children inherit permissions.
Merge branch 'hotfix/3479'

Close #3479
Fixes #3454
[#3073] Remove namespace from interface reference
[#3446] Allow generic traversable configuration to Captcha element
Merge pull request #3487 branch 'hotfix/allow-traversable-in-captcha'
Merge commit 'refs/pull/3486/head' of github.com:zendframework/zf2 into hotfix/decompress-filter
Merge pull request #3486 branch 'hotfix/decompress-filter' Close #3073