Added QueryCounter helper class for specs.
Snapshot creation disabled for Templates

Implemented the supports_snapshots? method

https://bugzilla.redhat.com/show_bug.cgi?id=1005285
Add modeling for template many-to-many tenant

In OpenStack, an image (TemplateOpenstack) can exist in more than one project
(CloudTenantOpenstack).  These migration and model changes allow an OpenStack
template to list the tenants it can be used in, and allows a Cloud Tenant to
list the templates associated with it.

The table is named "cloud_tenants_vms" to reflect the physical tables used in
for the join.

Despite the table name referring to the generic objects, the relationship is
purposefully restricted to Openstack templates and Openstack cloud tenants in
the association defined in the models.  This keeps the notion of the
many-to-many relationship restricted to the most specific level.

The relationship methods are named:

* TemplateOpenstack#cloud_tenants
* CloudTenantOpenstack#opentack_templates

Additionally, to facilitate keeping the relationship as specific as possible,
CloudTenant is now sublassed to CloudTenantOpenstack.  Since all of the existing
cloud tenants are only openstack tenants, the migration initializes all of the
CloudTenant records to have a type of CloudTenantOpenstack.
Treat date "from"/operator filters as dates, not times

Without this, the existing tests fail when run on a system that's east
of Greenwich.
Add support for Openstack SSL

Allow connections to Openstack to use SSL.

https://bugzilla.redhat.com/show_bug.cgi?id=1089727
https://bugzilla.redhat.com/show_bug.cgi?id=1140693
Smarthost templates removed from host view

https://github.com/ManageIQ/manageiq/pull/710#issuecomment-56865714
Add logging for Cruise Control Builds before preparing the database

[skip ci]
backport truncate until we've upgraded.

truncate was added in upstream in
9a4e183fe9f81365f7815c391512b3d46622d8c8
move AR::Base#truncate to manageiq repo

I'm not sure if this can be upstreamed, but it doesn't impede us from
upgrading, so we should remove it from our fork.
don't establish a connection for feature detection

we should avoid bringing up a connection too early in the boot process,
so just check the pg connection class directly
Fix brand violation bugzilla

https://bugzilla.redhat.com/show_bug.cgi?id=1138788
Add support for Version 5 XFS filesystems

This includes adding CRC fields to several on-disk
data structures including directory headers, as
well as allowing for a filetype field in the directory
entries.

Rubocop warnings in the code were fixed as well as
style issues pointed out by reviewers.
Restore button definition and flash message div in import_export view
Change method to only replace flash message div

Fixes #763
Merge pull request #764 from dclarizio/fix_automate_reset

Restore button definition and flash message div in import_export view
Fixed Catalogs and Catalog Items tree building

Ensured that all 3 trees in the Catalog Explorer, prior to the actual
tree building set these values - x_active_tree and x_active_accord for
the respective trees.
Setting these values is important for each tree as it ensures proper
tree building.
This was missing previously causing a crash when a user with permissions
 to only the 'Catalogs' accordion logged in.

https://bugzilla.redhat.com/show_bug.cgi?id=1130301
Merge pull request #757 from romanblanco/fix

Fix brand violation bug
Added applies_to_method to parent Host & Cluster charts.

Added applies_to_method to chart for Parent Host and Cluster charts so charts side-by-side comparison charts match up. Also added CPU (%) chart to parent Host and Cluster yaml, this chart was added previously to VmOrTemplate yaml.

https://bugzilla.redhat.com/show_bug.cgi?id=1138449
Report editor: whitelist filter buttons.
Merge pull request #767 from martinpovolny/expredit_valid

Report editor: whitelist filter buttons.
Merge pull request #754 from brandondunne/enhance_test_build_output

Add logging for Cruise Control Builds before preparing the database