[composer] Only require phpunit while development

This is not a required library for production
Fix syntax

Credits to @agnagna
Merge pull request #16 from Maks3w/patch-1

[composer] Only require phpunit while development