added app.db.delete method
added inArray HBS helper