allow functions in a module to be symlinks

add the '-' flag to the function glob which makes the other flag test
against the target of the symlink, and not the symlink itself

when using rcm (https://github.com/thoughtbot/rcm) the function files
are symlinked by default, but the current glob excludes them by
targeting normal files (with the '.' flag)