added revert_file function
Merge branch 'shaun' of https://github.com/hydroshare/hydroshare2 into shaun
added revert_file function