Setup PHPUnit for project.
Added unit tests
Fixed asSingleton() not properly marking the registration as a singleton.
Merge branch 'feature/unit_testing' into develop
Changed constructors in README examples to __construct