Fix has_key not supported in python3.3
Update random_key for python 3.3
Fix bug in cache.py
Merge pull request #2 from kfarr2/python3.3

Update for Python3.3