[OPENENGSB-3631] add revert functionality

Rebased this branch to the current master. Will run the pre-push script and merge later this day.

http://issues.openengsb.org/jira/browse/OPENENGSB-3631