Wrote the first parser that separate reference rules from the normal rules
Merge branch 'feature-security-groups-isolation' into feature-security-groups-reference
Merge branch 'master' into feature-security-groups-reference
Wrote the first ugly but working implementation of reference. Time to unit test and refactor it

Conflicts:
	vnet/lib/vnet/openflow/filters/security_group.rb
Added a unit test for security groups reference. Also fixed the broken Models::Interface#ip_addresses method and got rid of the broken networks method on the same class. Also Added the IPv4 helper methods to Models::IpAddress so we can use them from the unit tests without having to convert the model to a wrapper first.
Wrote some failing tests for removing reference rules... expected to fail since that's not implemented yet
Implemented the removal of reference flows when uninstalling a security group. The test from the previous commit is now green.
Extracted method interface_ids to remove some code duplication
Cleaned up the install_reference method and extracted some of the common grounds between it and install_rules
Refactored security groups to have less calls to @dp_info.add_flows
Fixed a bug where remote interfaces could get their isolation rules defined locally
Merge branch 'bug-secg-isolation' into feature-security-groups-reference
Created a separate event for updating the ip addresses in a security group. This will be dispatched when interfaces in the group change or when ip leases of those interfaces change.
Wrote a helper method for dispatching the UPDATED_SG_IP_ADDRESSES event so we don't have to write the same code in many places
Wrote an rspec example that reproduces a bug I just found
First kinda ugly implementation of updating reference when the ip addresses in a security group change
Fixed a bug where security group rules could get applied for interfaces that have ingress filtering disabled
Validate rules before applying them so we don't crash when there's a faulty syntax
Use the uuid for logging newly added interfaces since we have access to it now
Updated the isolation related specs a bit so they match the current behaviour better.