Warn user when project has too many files

This is for #6962 and https://trello.com/c/fpu67Ep7/1375-brackets-8508-6962-search-issue-with-large-folder-issue.

Warn user when project has too many files, but only warn once per project session.

Only code change here was to add the `fail()` handler. Only change to `done()` handler is indenting.