Add gitignore and remove temporary or environment-related files.

Remove and ignore temporary files which may cause problems on future merges.