Introduced an ad hoc swith based on the RUBY_VERSION because the argument of Net::HTTP::Get.new differs in Ruby 1.9 (uri.path) and Ruby 2.0 (uri)
Fixed comments
Merge pull request #12 from ktym/master

Fixed for backward compatibility with Ruby 1.9