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