Add rdoc to Gemfile for benefit of Ruby 1.8.7

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix mocha require deprecation warning

Signed-off-by: Alex Coles <alex@alexbcoles.com>