[LANG-545] Added ability to create a ConstantFuture object. Thanks to Stephen Colebourne for the patch.