GUI-1271 re-worked copy-deny logic to be more efficient and correct

re-worked copy-deny logic to be more efficient and correct

https://eucalyptus.atlassian.net/browse/GUI-1271
The ampersands need to be escaped here (and two other places) for XHTML compliance.  Heads up that https://github.com/eucalyptus/eucaconsole/pull/1077 fixed the invalid XHTML, but since you've changed the method here we have a merge conflict.