Add travis yml
add coveralls config
Make UserAgent implementation more version agnostic
Fail tests on error