Refs #18740; added features to archive function:

- Feature: archive dialog now gives option to archive also previous
  versions of given context
  [ichimdav refs #18740]
- Cleaned setuphandlers.py of leftover commented code