Use Entities.destroyAll(app.getManagementContext())

- instead of Entities.destroyAll(app)
Merge pull request #823 from aledsage/refactor/use-Entities.destroyAll-managementContext

Use Entities.destroyAll(app.getManagementContext())