Fixed include paths in examples.
Removed FETCH_JSON functionality.

This only complicates issues, and can easily be done manually by running
json_encode on the resulting data. Therefore only FETCH_OBJECT and
FETCH_ARRAY remain.
Fixed filter path in root phpunit.xml
Minor coding standards fixes.