Refactor port tests
Refactor port tests

This changes:
1. use mock instead of mox
2. correct test_port_needs_update_network()

Change-Id: I51c12a61bc42915da7f50cea4e6a55a07f19e77b

noironetworks/heat,openstack/heat,openstack/heat,noironetworks/heat