[Feature] Ruby 1.8.7 support

The only Ruby 1.9.x dependency is the use of the `Object#public_send` method. This patch simply monkey patches that method on Ruby < 1.9 (i.e. 1.8.7).

Please merge.