Clojure 1.7 compatibility fix

Clojure 1.7.0 adds 'flatmap' into clojure.core as part of the
transducers API.
Merge pull request #112 from sattvik/clojure-1.7

Clojure 1.7 compatibility fix