Gui 1231 cache VPC support for scaling group wizard and detail page

https://eucalyptus.atlassian.net/browse/GUI-1231
https://eucalyptus.atlassian.net/browse/GUI-1232
More replace functions have been added.