Fix closing a window opened by a directory :e.

ViProject would start setting up before the window was
fully loaded, so certain document-related actions would take
place with uninitialized outlets (like the symbol controller).
We now wait for the window controller to tell us the window
has loaded before loading the documents for a project.
Drop a stray NSLog in ViStatusView.
Properly save project state when quitting.
Remove a possibly-not-useful guard in tab creation.

Originally, we were only creating a tab if the first document
we looked at at the top level was not also the only
document. It's unclear why that would be a necessary
condition, so that condition goes away until we can prove
that it's necessary (at which point we'll indicate why inline).
Leave the view and project closing to windowWillClose.

This in the documentController:didCloseAll:contextInfo:
method. If we wanted to correctly close the project in
windowWillClose, we needed to not do it first in that place.
This centralizes the window closing logic.
Select associated view when creating a tab for a document.

We weren't doing this before, which resulted in some
strange interactions when creating a tab from the project
loading logic. We would typically create an extra horizontal
split instead of loading correctly.

Once again, there's no clear reason why we wouldn't be
selecting the document view after creating the tab, and
barring an explanation, we're going to go ahead and do it.
Creating new tabs normally works correctly, as does
creating new tabs when the default for opening files is
doing it in a new tab.