Add autoload cookies, fix package formatting

Needed for `package.el` to correctly parse the file.
Merge pull request #2 from purcell/patch-1

Add autoload cookies, fix package formatting