Added phpunit & travis config files

Also updated composer dependencies.