Added reduce, reduceRight, apply and queue functions.

Functions repeat similar behavior of async.