implement and test Promise.map and Promise.reduce, add convenience functions
version 0.0.9