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
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
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
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 #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.
Merge pull request #390 from mzazrivec/role_group_check_in_model

Check for used & read-only roles & groups in model rather than controller