(maint) have beaker tests use the host.hostname instead of host.name

-  when you want the current hostname use host.hostname, for some
   provisioners host.name is the name provided by the user but the
   current hostname is generated on the fly and thus different.
Merge pull request #915 from anodelman/beaker-1.5.x-hostname-mistmatch

(maint) have beaker tests use the host.hostname instead of host.name
Merge branch '1.5.x' into 1.6.x

* 1.5.x:
  (maint) have beaker tests use the host.hostname instead of host.name
Merge branch '1.6.x'

* 1.6.x:
  (maint) have beaker tests use the host.hostname instead of host.name
Fixed issue with doseq over deftests in the events tests
(PDB-454) - Added environment support for querying reports, events, event-counts and aggregate-event-counts

This commit has the last set of environment query API changes. Reports and events
both allowing environment in the query criteria and return environments in the result.
Event counts and aggregate event counts allow events in the query criteria.