GUI-1050: Display the warning icon for empty security groups

https://eucalyptus.atlassian.net/browse/GUI-1050

Fixed the tile view to include the warning icon and create the link to the detail page
Verified the fix on AWS
Why return -1 here?  Why not remove this line and have the function return None if sgroup is missing?