Test: implemented tests for Util.Promise.
Util.Promise: fixed issue with object promises in resolve().
Util.Promise: updated ::convert() to accept functions following Node-style syntax.