Cleanup nova subcommands for security groups and rules

The Changes include:
  - Sanity check for from_port, to_port, and IP protocol when adding
    a security rule
  - Print one more column 'Id' for security groups
  - If there are multiple security groups with the same name, the group
    can't be deleted unless an ID is specified. However, there is no code
    to search and delete security group by ID. So, _get_secgroup() will
    get group by ID if the input is like a UUID. If not found, then get
    group by name.
  - Some corresponding changes for help messages.
  - Test case changes after adding sanity check.

Change-Id: Ibd82d8404bdd64e4bca2f8b25756bfaff7b28194
Signed-off-by: Shane Wang <shane.wang@intel.com>
Merge "Cleanup nova subcommands for security groups and rules"