secure: checkbox_trusted_launcher: remove argparse workaround

The workaround for python3.2 vs python3.3+ argparse behavior
was applied incorrectly because argv passed to main() is essentially
ignored if the program is invoked from command line (where sys.argv
is used by argparse, internally).
secure: checkbox_trusted_launcher: Add the --warmup option

By adding a mutually exclusive group containing --warmup and --hash
there's no need to add a fix for the argparse behavior in python3.3 as
one of these option is required.
"[r=zkrynicki][bug=][author=sylvain-pineau] checkbox_trusted_launcher: Add the --warmup option"
Launchpad automatic translations update.
job: JobDefinition.__init__ super-call to BaseJob

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
job: change how `via` is stored not to influence get_checksum()

This change makes jobs read directly and re-read from __foo__ local jobs
identical, as expressed by get_checksum() comparison, again. This fixes
the spam of warnings such as:

WARNING:root:Local job __audio__ produced job <JobDefinition name:'audio/list_devices' plugin:'shell'> that collides with an existing job <JobDefinition name:'audio/list_devices' plugin:'shell'>, the new job was discarded

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"
setup.py: Remove the policy file from the data_files

PoliciKit actions files will be managed by debian packages
contrib: Adds the policy files to this directory

policykit_auth_admin_keep/org.freedesktop.policykit.pkexec.policy
=> Ask the password once

policykit_auth_admin_keep/org.freedesktop.policykit.pkexec.policy
=> Run without password prompt (for sru headless mode)
runner: Added the authenticate_warmup function

This will call the checkbox trusted launcher and depending on the
installed policy file will open the authentication agent dialog window.
Needed to ask the password before running the tests.
commands: run: Call the policy kit agent before starting the tests
"[r=zkrynicki][bug=][author=sylvain-pineau] Warm up: Ask the password before running the tests"