Fixes #57: Use CHAR(39) instead of LargeBinary for IPAddress
Merge pull request #64 from Cerberus98/master

Refactors port_create to break a deadlock case
Merge pull request #65 from asadoughi/master

Fixes #57: Use CHAR(39) instead of LargeBinary for IPAddress
Moves ipam deallocs out of the parent transaction

The previous commit fixing the db deadlock issue also removed all usage
of the subtractions key on session usage. As such, the subtransaction
for deleting macs and ips no longer function correctly under the
  delete_port case. This commit moves all but the actual db port
  deletion out of the parent transaction, allowing the IPAM
  deallocations to function on their own.