[fwaas] Can now create disabled firewall rules

Previously, the --disabled flag was ignored when creating
firewall rules. This patch fixes that problem, closes the bug
and adds a test. I changed update_dict so that values are sent
on to the API call if they are not None (So False values are
sent as well).

Before this patch, when creating a resource, values were
inserted into the API call only if their value was not None
or False. This worked fine for values whose default value
was False. 'enabled', however, has a default value of True.
That means that sending enable=False wouldn't work.

After the change to update_dict the issue, however, was that
'shared' and 'audited' were then always sent (Even if their
default was False) but the unit tests weren't expecting a False
value since it wasn't explicitly stated. Instead of changing
the unit tests, the solution is to only send the value in the
first place if it is not the default value, using argparse's
default mechanism. If it is the default, then it is written as
None and so is not sent, and not checked by the unit tests either.

Closes-Bug: 1250028
Change-Id: I142089ffd612fb52a326e8951a385920af852a2c
Fix lb-healthmonitor-update to work with correct object

Previously in case specified id was incorrect, client fetched
healthmonitors trying to filter them by name which had no effect since
healthmonitor object doesn't have name attribute.
The patch fixes the behavior by making lb-healthmonitor-update rely
on finding resource by id, not by name-or-id

Change-Id: Iade1c3270ec6c60362dd9a9b5e2ffdb0ad9430c1
Closes-Bug: #1245859
Handle IpAddressInUse with client exception

Nova is not able to reliably distinguish between port OverQuota 409
errors and IpAddressInUse 409 errors when setting up networks for
instances. The client needs to provide a more granular exception so
nova can translate the error to it's own set of exceptions.

Also adds a test case for the exception_handler_v20 utility method which
was lacking explicit test coverage before this change.

Partial-Bug: #1247844

Change-Id: I71589097ae660c3385b3f4ff93ffae99ac7042b9
Ignores swap files generated during file editing

Closes-Bug: #1255475

Change-Id: I22b6fa351dd3a991943f432c01785c706eff8397
Convert xrange to range

xrange is deprecated in python 3.3 and range provides the same functionality

Closes-Bug: #1255788

Change-Id: Ia27c1e7508f712573aadeb4f80ce39d14ce20407
Merge "[fwaas] Can now create disabled firewall rules"
Merge "Handle IpAddressInUse with client exception"
Merge "Fix lb-healthmonitor-update to work with correct object"
Merge "Convert xrange to range"