Add map() and flatmap()

As discussed in #11.
1. I strongly prefer `flatMap`. I’m sorry, I should have called this out in #11! :disappointed:

2. Can we make this generic over `S: SequenceType where S.Generator.Element == Result`?