Create ApplicationController::Filter#process_datetime_selector

Code deduplication (DRY)
Create ApplicationController::Filter#process_datetime_selector

Simplified character extraction from a string.
Create ApplicationController::Filter#process_datetime_selector

Explicitly declare this new method as private.
Create ApplicationController::Filter#process_datetime_selector

Simplified boolean logic around time_suffix computation.
Create ApplicationController::Filter#process_datetime_selector

Use new variable exp in place of @edit[@expkey]
Create ApplicationController::Filter#process_datetime_selector

Computed exp_value_key and defaulted exp_key to nil.
Create ApplicationController::Filter#process_datetime_selector

Compute value_key, instead of passing it as parameter.
Simplified ApplicationController::Filter#process_datetime_selector method
Expand render_flash with flash text.
Split and cleanup a bit ApplicationController::group_create_update.
Simplify ApplicationController::selected_consecutive?.
SCVMM: Gracefully handle empty results from Powershell

1) Now log the error messages returned from Powershell.
2) In Scvmm.rb - Now check if the hash (@inventory) is empty
3) Now handle empty datasets within the @inventory hash (e.g. vms)

https://bugzilla.redhat.com/show_bug.cgi?id=1134064
upgrade net-ssh from 2.6.5 to 2.9.1
Remove the html tags <br/> that show up in the emailed report.

https://bugzilla.redhat.com/show_bug.cgi?id=1124936
Nullify the cluster_id on hosts when deleted

When Clusters are deleted, the ems_cluster_id should be nullified on residual
hosts.

As a performance concern, hosts are not automatically deleted when an
infrastructure provider is deleted.  However, the clusters may be.  In such
cases, the old ems_cluster_id will remain on the host record.

Then, if the same infrastructure provider is added back, and an ems_refresh is
initiated, the hosts attempt to resolve the ems_cluster_id (which points to
nothing now) and ends up with an object not found error from active record.

https://bugzilla.redhat.com/show_bug.cgi?id=1087476
EmsRefresh of Amazon Images for EBS only instances

https://bugzilla.redhat.com/show_bug.cgi?id=1139383

This is the first part of the ticket, it pertains to storing the
block_storage_based_only for flavors and root_device_type for images.
Once this data is filled in by the ems_refresh we will be able to
filter out invalid instance types during provisioning.
Disable Provisioning button for SCVMM.

Added eligible_for_provisioning method in TemplateInfra model to override the one in MiqTemplate model so Provisioning for SCVMM templates can be disabled.

https://bugzilla.redhat.com/show_bug.cgi?id=1138858
https://bugzilla.redhat.com/show_bug.cgi?id=1138772
Options/rbac minor code cleanup.
Split and cleanup ApplicationController#load_edit.
Refactor ApplicationController#flash_errors?.