Updated .gitignore file.

The cache directory is now ignored completely which breaks things if you
try to restore your sugar installation from vcs. But since a vcs is no
backup that should be okay.

Also the new upload directories were added to the gitignore file.