Namespace monkey patches to avoid conflict with Rails.

An easy fix with namespaced monkey patches.
This should work with Rails and fixes #17