Tweak composer config

Tell Travis to use composer to install dependencies, and include
composer's autoloader into the unit test