[RFE] add --lab-controller to beaker-import script

Bug: 863180
Fix the navigation bar URLs for OS Version listing.

Bug: 860870

Change-Id: I4f4763a04118e41d9fd5962d75cc7a151a62949a
fix typo in jinja SnippetExtension which breaks tracebacks

Change-Id: Ie60c88768f61601b41b217232d6258e02ea785b0
test_beakerd: set shared=True for "loaned" tests

With shared=False (the default) the "loaned" tests were kind of
pointless, since the test user never had access to the loaned systems at
all.

Change-Id: Ic4afde0e6e1695e07801c9e6fd1559d720a3b666
session.close() must be in a finally: block

session.close() has to be matched with session.begin(), but some beakerd
functions can exit their loops with a `break` or `continue` statement
which would skip the necessary session.close().

Change-Id: I28423d601f666b1e592b4d7126f3581c28f737ae
/distribution/inventory: acpidump and acpixtract are not needed

We can grab the ACPI tables that we need from /sys/firmware/acpi/tables/
instead. So we can avoid having to bundle and compile pmtools.

Change-Id: If21a818f08d821dd9eab58d36fc67367423a56e1
Merge "/distribution/inventory: acpidump and acpixtract are not needed" into develop
/distribution/inventory: add a parameter to show output instead of sending it
/distribution/inventory: capture output of pushInventory.py in case it fails
checkbugs.py: --release option to search by bug flags
skip LDAP lookups for usernames containing '/'

If the username contains '/' it is not a valid POSIX username and is
most likely a Kerberos service principal, so it won't appear in LDAP. We
can avoid a costly LDAP lookup (which will just fail every time) in
those cases.

Bug: 866552
Change-Id: I4b8f4e7a96082ea50bd8053d77dc648a34c969ca
Merge branch 'release-0.9.4' into develop
Merge "skip LDAP lookups for usernames containing '/'" into develop
Merge "[RFE] add --lab-controller to beaker-import script" into develop
Merge changes I28423d60,Ic4afde0e into develop

* changes:
  session.close() must be in a finally: block
  test_beakerd: set shared=True for "loaned" tests
Remove system_id from watchdog table

The relationship Watchdog -> System is redundant since Watchdogs are
always associated with a Recipe, and we can grab the System from there.
We can also avoid potential inconsistencies if we don't have to maintain
this relationship separately.

This paves the way for Recipes which do not have an associated System.

Change-Id: Ie5aabf0e8c86c07ee2e7d1faf6bc8b801ba51825
power command fails if machine is in wrong state

Bug: 862061
Change-Id: I31c374ebba5ace754dd7ffe715a24dd3f7ef9423
remove special handling of Decimal for rdflib

As of version 3.2.0, rdflib now correctly maps Decimal so we don't need
to do this ourselves. This also lets us avoid warnings about re-mapping
the XSD#decimal data type.

Bug: 864610
Change-Id: I1527a39f1d602b65fc21c15b2be50e0f6f4bbb5d
Merge "Remove system_id from watchdog table" into develop
remove support for looking up a recipe by hostname

This has already been deprecated for quite a long time and is not used
by anything (except for beah if it has not been configured with a recipe
ID, which should never happen).

Change-Id: I662d7ab0137f8563df3eaed8156205990b605db8