Several minor fixes

- Provide autoload cookies for main public functions
- Use locate-dominating-file instead of hand-rolled Gemfile search
- Use `error` rather than `message` to report failure to find Gemfile

(I noticed these issues in the process of [adding rails-log-mode to MELPA](https://github.com/ananthakumaran/rails-log-mode/issues/1).)