Travis CI integration
Badges
Encoding header in all specs

Fixes Ruby 1.9 compatibility.