Support using 'helm-ag' as function

It takes a directory as base directory of searching.
Merge pull request #12 from syohex/use-as-function

Support using 'helm-ag' as function