Configure rails for caching, add caching to tweets