fix missing import for get_osmajor_arches

Change-Id: Ie4dc1c80fa47cbfdb5196d1e486ac5aef1231a64
make STABLE really be the default value for --tag in bkr workflow commands

Currently the default distro tag filter in bkr workflow commands is
STABLE, but only when generating job XML (and only if a specific distro
is not named). That means if the workflow command does some other
processing based on the tags given, it may come out inconsistent.

In this particular case, bkr machine-test with no --tag option would
find all the possible osmajor-arch combinations for a system, but then
submit <distro_tag value="STABLE" /> in the resulting job which could
fail if no distros are tagged STABLE.

This patch makes STABLE be treated as the default *everywhere* if no
--tag option is given. (Unfortunately it's a quirk of optparse that we
cannot just pass default=['STABLE'] to the add_option method, because
then any --tag options would be appended to STABLE instead of replacing
it.)

Bug: 876752
Change-Id: I6b6720fc52afa3744cb59d5d187dcef252583679
Fix broken query in recipe metrics collection

Also adds unit tests for metrics reporting functions in beakerd

Bug: 584783
Change-Id: Iab8cb12f48224912d28c65cace87fb6a7e482bf1
Make utilisation metrics compatible with SQLA 0.7

Change-Id: I46f98cbad70355e7cf3c272901452bfcc02fd2c0
Document sudo configuration requirements

Bug: 843854
Change-Id: I5b557e3ca89ab242a118be6c3be3047a18f218e1
docs: fix recipe graphite URL (needs .all)

Change-Id: I8953bd9cdf4824b18ffa9d3ccb00011f1dfa9fc6
rearrange system-breakages reporting query so that it works in Teiid

Change-Id: Ibea1a32d73caa17f28107448c080030919f82d6c
Change report name to be a href to the report URL on external reports page

Change-Id: I368574f4e31f998f8aa3bb440acc6b43e6a4d0ad
Merge "Change report name to be a href to the report URL on external reports page" into release-0.11
Merge changes I6b6720fc,Ie4dc1c80 into release-0.11

* changes:
  make STABLE really be the default value for --tag in bkr workflow commands
  fix missing import for get_osmajor_arches
Merge "docs: fix recipe graphite URL (needs .all)" into release-0.11
Merge "rearrange system-breakages reporting query so that it works in Teiid" into release-0.11
Merge branch 'release-0.11' into develop