Fix composer.json error.
Added packagist and travis badges to the readme.