Invalid json check

Still need test for `hasJsonKeyValue`.

To run tests, you need to update a project to use this version of the repo, and then:
```bash
SYMFONY=lib/vendor/symfony/symfony1/lib php plugins/ua5AdminThemePlugin/test/unit/test/Ua5TesterResponseTest.php
```