Add a .gitignore file

A .gitignore file will help to keep the repository cleaner and will
hopefully make it slightly easier to use.  This has been configured
only to ignore the temporary files created by gedit (*~).