Fix formatting, add autoload cookies

- Use standard headers/footers for package.el compatibility
- Add autoload cookies for interactive functions
- Require org at compile time to prevent byte compilation warnings
- Rename `org-in-heading-line` to fit library namespace