- removed resolve
- flatten now also works with promises of tasks
- added IPromise interface for Promise to inherit from, so both Task and
Promise can inherit from it, necessary for generic methods.
- mapasync now also works with tasks
- renamed then to thenAsync for promise mapping version of then
- thenAsync can now also work with Tasks instead of just promises