Add Composer support

- Added composer.json file
- Removed requires from source and test files
- Update unit tests to use newer version of PHPUnit