GUI-838: Prevent single quote in name from breaking scaling group detail page

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