Spec: https://docs.google.com/document/d/1x9FECoXg9n-tidowCFY5T2wGa9TPwsthWtUd1ahb_TI/edit#heading=h.qy9u9vld6pz6
CBL-773 Implement new Close and Delete Database (Java)