Add versioning, diff and reverting of tags. refs #4