add redis caching for django and tornado, issue #60