Merge tag 'fix-travis-rdoc' into develop

Fix Travis error - cant find Rdoc Gem
Use CGI.escape ratehr than URI.escape to resolve #59
Use proper Ruby object in example
v.3.1.1
Merge pull request #64 from datasift/feature/cgi-escape

Feature/cgi escape
Merge branch 'release/3.1.1'