Implement Array#flatten(depth).
Fix flat_map for objects that don't respond to to_a.
Merge pull request #5 from crealytics/master

Implement Array#flatten(depth)