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

Check for used & read-only roles & groups in model rather than controller
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
Adding support for Kerberos Ticket based Single Sign-On

- Updated Appliance Console to configure Kerberos Authentication for Apache
- Updated Apache server to serve support proxy based pages, needed for Kerberos ErrorDocuments.
- Updated kickstart to copy the proxy based pages
- Updated dashboard controller to support kerberos authentication
- Adding UI Enable Single-Sign On button and configuration for external auth (httpd)
- Support hidden SSO login button to differentiate Kerberos vs. normal IPA login.
- Redirect no credentials normal authenticate to kerberos when SSO is enabled.
Address PR comments and issues

- Remove duplicate domains in drop down list
- Allow for importing second level namespaces
- Do not allow imports to read-only domains
- Add statistics to successful import message
- Add select all checkbox for import
- Do not allow importing without selecting any namespaces
- Destroy dynatree when back button is clicked to prevent stale data
- Add javascript namespace
PR updates for Kerberos Ticket based Single Sign-On

- Rspec fixes
- Simplifying vmdb config value checks
- Rubocop fixes
Filter: whitelist suffixes
Merge pull request #728 from jrafanie/add_test_that_missing_constants_during_yaml_load_are_autoloaded

Add test for autoloading of missing constants during yaml load.
Merge pull request #733 from Fryguy/fix_test_output_error

Fixed bad reference to @display variable
Replace form image buttons with actual buttons