first commit

Most work has been done already ;) On the wishlist: the performance
test: https://github.com/cujojs/promise-perf-tests#test-results