JcloudsLocation, set security group on more clouds

Extends the 'security group extensions' code block to understand
CloudStackTemplateOptions, and also to attempt to use the recently-added
jclouds support for security groups in the base TemplateOptions class