Fixing php fatal errors & required, multipleOf tests

This changes fixing some errors in draft4 tests: https://github.com/json-schema/JSON-Schema-Test-Suite/tree/develop/tests/draft4.

With this fixes only 14 tests remain in failed state (all of them are $ref tests).