nova security-group-* should support uuid as input

If we installed neutron, the security-group request will be handled
by neutron, however neutron is using uuid as key for security-group,
nova uses an int value as key, for current novaclient, it only
support the security-group which key is int, so will raise exception
for uuid input.

Change-Id: Ia230d12a1b4905434024b1a5129aa91cff7e6a5b
Closes-Bug: #1247728
Updates .gitignore

To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if these files exists,
so improving this with *.sw?

Change-Id: Ic3e09f8cf0be35c98d89d862d40121a09c7b2498
Closes-Bug: #1255876
Merge "Updates .gitignore"
Merge "nova security-group-* should support uuid as input"