GUI-852: Escape double-quotes and backslashes in tags to prevent tag editor errors

Fixes https://eucalyptus.atlassian.net/browse/GUI-852