Add more robust type checking

Add additional type checking when an application is referenced or
deployed, and while checking its status.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
1 file changed