[OPENENGSB-3631] add revert functionality

rebased and reopened pull request.

http://issues.openengsb.org/jira/browse/OPENENGSB-3631