GUI-1266, GUI-901 Re-factoring of the security group rules update and adding of the warning display in case of invalid rules

https://eucalyptus.atlassian.net/browse/GUI-1266
https://eucalyptus.atlassian.net/browse/GUI-901