Add ability to clear ECS changes.

You can now clear the changes staged in the ECS and have them removed from the database.  Note: this does not include config-changed entries in the ECS: that will be a future branch.