Remove duplication on stack resource operations

Move resource existence and availability check to a single place to
avoid duplication.  This is prep work for the blueprint
detailed-resource-show.

Change-Id: Ie923516d11307fc5efdbfbe728fb842137915b28
Merge "Remove duplication on stack resource operations"