tools/buildxpi: Switch from optparse to argparse
get_moz_enUS: Switch to argparse
get_moz_enUS: Use python3-compatible print syntax
moz_l10n_builder: Switch to argparse
moz_l10n_builder: Use python3-compatible print syntax
mozcronbuild: Switch to argparse
tools/pydiff: Replace optparse by argparse
services/tmserver: Drop python 2.5 support
services/tmserver: Replace optparse by argparse
tools/pocount: Replaces optparse by argparse
tools/pocount: Avoid a naked except clause
tools/build_tmdb: Switch to argparse
detectencoding: Get rid of old, unused script
py3: Fix instances of unrecognized string literals
storage:ts2.py: add message id attribute to contextname

Make getcontext() use message id attribute if present. Otherwise different units
might have same id which in turn makes pootle loose another unit. Also make
getid() to use context if it is present. Qt ts can have an empty source.

Fixes bug 2901
storage/test_ts2: Add tests for getid()
Docs: make docs with -W i.e. warnings as errors
Docs: fix JSON format header
storage/base: Remove unneeded import

We don't actually support Python 1.5.
Docs: fix docstring in translate/storage