Adding configurable timeouts on the future

In the scenario your memcached server is offline, then every single call takes one second before it fails and reports back to Play that the item is not in cache. If you have many cached items that must be retrieved to give a single response to a user, then having an outage on your memcached server becomes completely unacceptable.

In reality, most things that you cache in memcached could likely be fetched or recomposed directly from the master source in much less time than a second. This enhancement allows you to configure both the timeout duration and the timeout unit. If the properties are not specified in configuration, then the library will continue to function as before with a one second timeout.