Add status for folders

1) Adds support to cache status for folders in git index.
2) Updates the status of all ancestors to the file when changed.
3) Displays the status for folders on filesView.

@devoncarew  PTAL