Refactor to PSR4 and add Composer support

As it says on the tin

Refs #2

Install composer with `curl -sS https://getcomposer.org/installer | php`

run `php composer.phar install`
 
Then you can test with `php example.php` etc.