Gemspec, Rakefile, and spec changes to run with 1.3

The extension works fine with 1.3 with a couple modifications. Would be great to have a 1-3-stable branch.