Fix #5: Require relative that works on both ruby 1.8 and 1.9

A merge of issue #2 and #5, conditionally use the safer require_relative
if present (>= ruby 1.9).