Cleaned up cache_get and request_setup methods.  Remove duplicated code.
Cleaned up cache_get and request_setup methods.  Remove duplicated code.

appneta/ruby-traceview,tlunter/oboe-ruby,boyang-li/oboe-ruby,appneta/ruby-traceview,boyang-li/oboe-ruby,tlunter/oboe-ruby,tlunter/oboe-ruby,appneta/ruby-traceview,tlunter/oboe-ruby,appneta/ruby-traceview,boyang-li/oboe-ruby,boyang-li/oboe-ruby