Add .gitignore function for creating and appending - see https://github.com/kqr/gists/pull/1