role delete: check for r/o role and role in a group in model

The following (existing) statement in MiqUserRole class:

    has_many :miq_groups, :dependent => :restrict

will prevent from deleting a role in a group, the 'before_destroy'
statement is to prevent a read only role from being deleted.

Therefore, there's no need to be checking for read only role
and a role in a group in the controller code.

https://bugzilla.redhat.com/show_bug.cgi?id=1126536
group delete: check for a r/o group and group used by users in a model

This fix is:
* to make sure during group removal, the check for a read-only group,
as well as a group still in use by user(s) is being made in the model,
rather than the controller.
* to simplify the (controller) code

https://bugzilla.redhat.com/show_bug.cgi?id=1126536
Add upload_import_file and review_import actions to MiqAeToolsController
Add granular automate import functionality
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.
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
Use localized product name in appliance console

https://bugzilla.redhat.com/show_bug.cgi?id=1045615
Add rake task to replicate current backlog and exit when empty
set date_from for calendar during initial load of dialog.

Changed code to set date_from for calendar during initial load of dialog. Removed setting of miq_cal_dateFrom JS variables from dialog_runner that was being done after a field is changed in the form no need to do it there as value of show past dates cannot be changed once dialog is loaded.

https://bugzilla.redhat.com/show_bug.cgi?id=1052795
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
Changed key name to check for provider_region instead of hostname

Changed key name to check for provider_region instead of hostname, EC2 specific code was changed to use provider_region column instead of hostname. Wrong key name in the check was causing validate button to not be enabled when adding EC2 provider.

https://bugzilla.redhat.com/show_bug.cgi?id=1146776
https://bugzilla.redhat.com/show_bug.cgi?id=1147075
Fixed parameter being passed to assert_privilege call.

Added code to pass in different parameter to assert_privilege call depending upon where user is coming from as 'resolve' method is a common method. This method is called when user presses 'Simulation' subtab under Automate maintab and also when user presses 'Simulate' button for a custom button from Customization explorer.

https://bugzilla.redhat.com/show_bug.cgi?id=1146885
https://bugzilla.redhat.com/show_bug.cgi?id=1147081
Merge pull request #729 from h-kataria/fixed_validate_button_on_ec2_provider_screen

Changed key name to check for provider_region instead of hostname
Merge pull request #718 from brandondunne/replication_backlog_processor

Add rake task to replicate current backlog and exit when empty
Merge pull request #730 from h-kataria/fix_params_passed_to_assert_privileges_call

Fixed parameter being passed to assert_privilege call.
Merge pull request #703 from AparnaKarve/bz1115763_show_vms_in_services_list

Added new columns in the Services List
Merge pull request #727 from h-kataria/disbale_past_dates_when_show_past_dates_is_not_selected

set date_from for calendar during initial load of dialog.