Fix test environment

Fix the test environment to be more standard:

* using composer install
* adding phpunit to require-dev directory
* having the bootstrap loading form the vendor/autoload file
* make compliant change to work on windows
* configure the .gitingore