BREAKING CHANGE: Implement ttl resets.

Added a TTL method to retrieve the duration until the key will be
removed. This changes required the removal of the TTL field which has
been changed to Duration.