Making logan compatible with ruby 1.8.7

ditched each_with_object
added gemspec dependencies
httparty version 0.11.0