Remove items from memory cache after the given time

In regards to #124. Note: config change, moved Ttl from [redis] section up to the [server] section.