[1136488] (domain mode) application version is 'none' for domain deployments
Add versioned-deployment logig to domain deployments.  This includes
resource upgrade for existing resources.  Also, tweak the operations to
use the correct path value as opposed to the version-stripped resource key.

(cherry picked from commit 3bc7d6bfc641e6a477d08c3b4fa1208536dc9e54)
Signed-off-by: Jay Shaughnessy <jshaughn@redhat.com>