Cache all the things!

+ Added caching for /log, /log/*, /log/pre, /log/pre/*, /random, /random/*
+ Added dalli and kgio gems for memcache
+ Added .env to .gitignore