ProjectExplorer: Fix disabled "Close Project" after closing project
ProjectExplorer: Fix disabled "Close Project" after closing project

The close project action is special. If there are multiple projects open
we show a menu with individual actions per project. If only one project
is open, we show one the "m_unloadAction". Even with only one project
open, the current project might be null. So explicitly manage enabled
the same way as visible. And also us the displayName of the startup
project, since that is guranteed to be non-null if there's a project
open.

Task-number: QTCREATORBUG-13497
Change-Id: I9150568da162c58ee524c2b954e0b9a816f79d7c
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@theqtcompany.com>

Distrotech/qtcreator,kuba1/qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,danimo/qt-creator,kuba1/qtcreator,danimo/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,kuba1/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,kuba1/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,danimo/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,kuba1/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,danimo/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,xianian/qt-creator,farseerri/git_code,danimo/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,danimo/qt-creator