Require phpunit via composer

... for easy testing in development environments.

And replaced spaces by tabs for json files.