Promise library in Swift conforming to Promises/A+, and more