Define helper to run an action on many resources

This change defines do_action_on_many function as a helper to run an
action on many resources (like nova delete).

Change-Id: I1c45d11a520703c57e3ac1923d94ec5f864f266b
Merge "Define helper to run an action on many resources"