Started counting staged files.

The git prompt functionality was previously ignoring staged files,
it is now updated so they are counted as added/modified/deleted.
Also added a .gitignore to ignore backup files created by GEdit.