add .gitignore
ignore ert.el
defensive quoting
avoid byte-compiling on Emacs 22.x