Adding ruby 1.8.7 support

__Updates for 1.8 support:__
* Restricted ActiveSupport version for Ruby 1.8.7 compatibility
* Added 'define_singleton_method' definition when undefined
* Fixed additional middleware in requester to address 1.8 splat for nil arguments