Fixes a number of issues in the Input package.

Fixed the mocker to proxy `get`, `post` and `request` variables better.
Fixed a problem in the Json input class where the internal data can be
set to `null`.
Exclude `vendor/psr` from the git index.