Fixed missing deref, updated to lein2 and fixed gitignore

I realize this is a small project but I needed it for something quick and I fixed a few minor things so I figured I might as well push it back :)