Refactor to use db.clear, update to OStore 0.0.4