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 upload_import_file and review_import actions to MiqAeToolsController
Add granular automate import functionality
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.
Support non-admin ems refresh users - OpenstackHandle

OpenStack handle changes required to support ems refresh
using non-admin credentials.
Support non-admin ems refresh users - openstack parser

Openstack parser changes required to support ems refresh
using non-admin credentials.
Support non-admin ems refresh users - test

Test changes required to support ems refresh
using non-admin credentials.
Updates based on code review comments.
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.
Reset flash_array when viewing screen off off vm summary screen.

Reset flash_array so flash message is not displayed when clicking on links such as Snapshots/Genealogy/Container/Operating System etc from summary screen after perfomring some actions like "Edit Tags".

https://bugzilla.redhat.com/show_bug.cgi?id=1146249
https://bugzilla.redhat.com/show_bug.cgi?id=1102658
Convert schedule_form partials to haml
Use localized product name in appliance console

https://bugzilla.redhat.com/show_bug.cgi?id=1045615
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 test for autoloading of missing constants during yaml load.

Verified this works on ruby 1.9.3 and 2.0.0.

Part of #535
Add XFS Filesystem Support

The following portions of the XFS code have been tested:
1) Superblocks
2) Allocation Groups
3) Inodes
4) Directories, including:
 * ShortForm Directory Headers and Entries
 * Single Extent Directory Headers and Entries
 * Single Level BTree Directory Headers and Entries

Unused code has been removed.
Additional updates based on Rubocop warnings have been made.
Additional updates based on @Fryguy comments have been made - mostly based on
file naming conventions.
More testing is needed before release including the find test being written
by @roliveri.

@roliveri @Fryguy @chessbyte please review at your convenience.
Add XFS Filesystem Support

Code to support Smart State Analysis of XFS filesystems has been
added.  The following has been tested successfully:
1) Superblocks
2) Allocation Groups
3) Inodes
4) Directories, including:
5) ShortForm Directory Headers and Entries
6) Single Extent Directory Headers and Entries
7) Multi-block Extent Directory Headers and Entries
8) Single-level BTree Directory Headers and Entries
9) Multi-level BTree Directory Headers and Entries
10) Single and multi-block extent regular files.
11) Symbolic Links

A fleece test on a local filesystem has been run successfully.
Changes due to relevant RuboCop warnings have been added as well
as those in response to review comments.

@chessbyte @Fryguy @roliveri please review as appropriate.
Allow default zone description to be changed

Removed the section of code that was blocking the default zone description
from being changed. Displayed the zone description when add/edit a ems.

https://bugzilla.redhat.com/show_bug.cgi?id=1098305
Fixed bad reference to @display variable

This was causing test output contamination where the controller
was being inspected in the output

For example, with spec/controllers/vm_common_spec.rb:32
Before:

    VmOrTemplateController
      #snap_pressed
    #<VmOrTemplateController:0x007f949fa96a10>    when snapshot is selected center toolbars are replaced

After

    VmOrTemplateController
      #snap_pressed
        when snapshot is selected center toolbars are replaced