FLUID-5513: Implementation and test cases for "micropromises"

This pull requests depends on #559