Move generally useful functions to cider-util.
Merge pull request #608 from jeffvalk/current

Move generally useful functions to cider-util.