Fixes a number of issues in the Input pacakge.

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.
Merge pull request #122 from eddieajau/Input

Fixes a number of issues in the Input package.