Make Rakefile work with older versions of rake

It finally dawned on me how to make the Rakefile compliant with other versions of rake, when I remembered that the Rakefile is Ruby code :)

Use Ruby's respond_to? method to check that the markup method exists on RDoc before attempting to invoke it.