bug #3138: Role VMs fails if the role is in pending

(cherry picked from commit 338a09104a07fe909e66a7488dc2cad0e9877ae2)
bug #3136: Service VMs table refresh does not work

(cherry picked from commit 4fee4df7817d2325f80f753cf3f9a591dd00314f)
bug #3135: Service 'change cardinality' button does not disappear after it's clicked

(cherry picked from commit d7d7e173aad4f3d4a190c380e8094fa2090c0111)
bug #3285: VM/Service Templates are not refreshed

(cherry picked from commit d719a1518a236d8c93796831205d15a5eeca3e93)