Added deletedFlag ability to destroy function to set a flag rather than destroying

Allows DELETE requests to also set a deleted flag on the model rather than removing the object.