Fixing troubling issues on contrail plugin related to dereference nullpoint; adding unit tests to cover changes on the compare method on the VirtualNetworkModel