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.
Added intervals to button fields

Intervals were missing for button fields

https://bugzilla.redhat.com/show_bug.cgi?id=1143019
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.
Don't automatically close the shared pipe used to get the DRb URI.

Ruby 2.0+ automatically closes all descriptors except 0, 1, 2 (input/output/error)
in child processes.  We need the child process (the server) to write it's DRb URI to
the writer descriptor so the client can read it.  Set close_on_exec to false
in the writer descriptor so it doesn't get closed on us.
See: https://bugs.ruby-lang.org/issues/5041

Fixes #459
restore selinux label for dhcp network scripts

https://bugzilla.redhat.com/show_bug.cgi?id=1145752
Updates based on code review comments.
Consistent service request list and details pages

This changes the following:
* service request details page: "Date Approved/Denied" ->
  "Approved/Denied on"
* service request list: adds "Approved/Denied By" column

https://bugzilla.redhat.com/show_bug.cgi?id=1138367
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.
remove duplicate appliance console spec

logger_spec.rb:18 already tests setting a logger in ApplianceConsole

The appliance_console_spec version sets the logger variable
in a before block that causes sporadic test failures

so we removed the appliance_console_spec version

thnx fryguy:

failing:
./bin/rspec spec/appliance_console --order random:1299

passing:
./bin/rspec spec/appliance_console --order random:50994
fix appliance_console requires

set RAILS_ROOT where it is needed
add all requirements of the specs to the specs
Added new columns in the Services List

The following new columns were added to the Services List

- Total VMs
- Total CPUs
- Total Memory
- Total VM Disk Count
- Total VM Disk Space Allocated
- Total VM Disk Space Used
- Total VM Memory on Disk

https://bugzilla.redhat.com/show_bug.cgi?id=1115763
Merge pull request #544 from kbrock/selinux_eth0_label

restore selinux label for dhcp network scripts
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
Merge pull request #701 from kbrock/appliance_console_log_spec

remove duplicate appliance console spec