add boolean property: 'files.dirty' if working dir is dirty

Tested with both JGit and native git. Handles both staged and unstaged commits.
I don't think the native impl ever worked on windows.