updated Gemfile to use https for rubygems, and modern rake usage for rdoc
removed json dependency, and use 'require_relative' for 1.9 compatability
fixed requires for ruby 1.9