hide cache directory
fix nits
added checking for pubspec
Merge pull request #2132 from keertip/cache

hide 'cache' directory in files view