More work towards #588. This removes HPX_REGISTER_PROMISE,