Merge pull request #1 from Fuco1/add-package-info

Added package header and licence
Add minor mode and globalized minor mode