Allow user configured default TTL value

Hi,

This allows default TTL value to be set as a parameter, saves specifying your own TTL on every set() call.

Cheers.

Gez