support building with go 1.2

Hi, here's a small change to support go 1.2.

I also added an entry in .gitignore to ignore emacs backup files.  This is unrelated, but I figure it won't hurt to pull them together.

Thanks for creating this great package!