Update gitignore

Most of these file types are relics from when I was setting up my whole
.emacs.d/ as a git repository. Now I load all my settings as a directory
so this stuff should never be in there.
Remove commented out old code
Add package initialization script
Add package configuration to global settings