added soft delete and undelete

modified delete() method to allow for soft deletes, and added undelete() method to "un-delete" a row that was soft deleted.