add boolean property: 'files.dirty' if working dir is dirty
Small cleanups
add unit test checking for dirty files
Merge pull request #142 from abatkin/master

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