Force ASCII-8BIT since the default encoding for scripts is UTF-8 in 2.0.

See https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
Upgrade binary_struct to 2.0
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
Fix error display w/o session.

Fix display of errors w/o a valid session by:
  * wrapping @css[:background_color] into css_background_color,
  * adding rescue to role_allows.
Fix: session[:last_trans_time] was not set.

session[:last_trans_time] is not set in the login request but later.
We need to anticipate this in the PrivilegeCheckerService.
Add tests for referer checking on requests.
Refactor and cleanup validate_user in DashboardController.
Simplify set_user_time_zone.
Simplify ie8_safe_redirect calls.
RBAC: refactor and remove fallback.
Fix small issues in English locales.

Remove spaces at the end of line.
Fix one key.
Fix a typo.
validate_user: fixes and tests.
Fix specs according to Rubocop complaints and review comments.
Fix specs after RBAC refactoring.
ApplicationController: better name for a method.
Split and simplify method validate_user.
Fix dashboard_controller specs after rebase.
Added QueryCounter helper class for specs.
Disable Utilization button for Instance if C&U data is not collected

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