Correctly process request parameters other than GET or POST, dont use globals in the class but inject it
default to GET request when no method is set to fix unittests, also set parsed json parameters on the post attribute
merge dicontainer
use references for middleware to fix problems on 5.3
merge middleware string registration
Merge pull request #8265 from owncloud/appframework-fix-backports

Appframework fix backports