Added support for constructing a Future from a Try.

Review: https://reviews.apache.org/r/20106