Basic dotfiles: bash, emacs, global gitignores

Adds basic dotfiles I need just about anywhere, plus a script to set up links
so it's easier to use them anywhere.