add reduce()
add map()
implement reduce() in Locale
reimplement with functional-php library
Merge pull request #10 from yitznewton/simplexml-wrapper

FP-ify the SimpleXML