fix Http\Client, add ApiTest
add composer.json, change travis configuration