Delete SOA records correctly on a downgrade

SOA records are now deleted using SQL ORM.

Change-Id: I34d8b896015ca5c15c9ce118fc21d521a16a048d
Closes-Bug: 1365996
Merge "Delete SOA records correctly on a downgrade"