services/tmserver: Drop python 2.5 support
services/tmserver: Replace optparse by argparse