Various fixes

- Add autoload cookies for interactive entry point functions
- Fix checkdoc warnings
- Use locate-dominating-file instead of hand-rolled lookalike
Merge pull request #1 from purcell/patch-1

Various fixes