Ensure POST/PUT body inputs are always encoded properly

Fixes #44 and LintErrors. Remove deprecated rspec matchers.
Update travis build for Ruby 2.1 and RBX