Fix lifetime calculation in Memcache and Memcached drivers.

I'm surprised, but doctrine cache has wrong calculation of lifetime for memcached driver - if lifetime is more than a month it adds current timestamp.

Fix this behavior - if lifetime is less than month then it's assumed a relative timestamp and added to current timestamp.