fix memory leak, update to new libSBOLc API

libsbol.Document was not being deleted upon sbol.Document deletion, creating a memory leak. This fixes it.