Fix for install with package.el

- add autoload cookie for lazy loading
- fix byte-compile warnings of unknown function
Merge pull request #2 from syohex/fix-for-package.el

Fix for install with package.el