Add Coveralls.io coverage stats export
Update .travis.yml
Fix tests.
Add Coveralls.io badge to README.