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

Tested with both JGit and native git. Handles both staged and unstaged commits.
looks ok, though we should probably measure performance impact of wrapping at some point...