Refactored how reTOracle used redis to cache sql responses

Should be faster, cleaner, and more efficient. Inspired by this blog post: http://clasense4.wordpress.com/2012/07/29/python-redis-how-to-cache-python-mysql-result-using-redis/