Add vi modelines to files. Ignore vim backup files

Hey guys, here are the vi modelines I mentioned in issue https://github.com/erlware/erlware_commons/issues/41

I also added *~ to .gitignore (vi backup files)

Thanks :)