[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.