implemented dogpile caching in database.py.  caching_query.py in utils/utillib/ should be moved to dist-packages for import