ShellWindow.get_current_app_name

Handle the case when there's no current application.
There might happen errors when there's no application running,
for instance, during startup, shutdown or between switching apps.

Change-Id: I375f67f55457aa7c38d0815530cd5e0dba65bb90