Explicitly checking application state property

Alias ALL_UP_AND_INSTALLED to ALL_APPS_UP because that is really what it
is.

close #1805