Add functions.sh.

Initially, to hold `bag`, a function that uses `ag` in tandem with
`bundler --paths` to search for code in gems. I stole this idea from
<https://blog.engineyard.com/2013/bundler-hacking>.