Remove :dependent => :nullify for policy_events.

policy_events will be handled by a purger much like ems_events.

https://bugzilla.redhat.com/show_bug.cgi?id=1167110
Add purger for policy_events.

PurgerMixin has been created as a set of common methods from all of the
other purgers.  The other purgers will be modified to reuse these
common methods in the future.  Initially this mixin has been created
with methods for purging by date only, but ultimately it should include
methods for purging "by remaining" as is found in the miq_report_result
and drift_state purgers.

https://bugzilla.redhat.com/show_bug.cgi?id=1167110
Added scheduler methods for purging policy_events.

https://bugzilla.redhat.com/show_bug.cgi?id=1167110
ManageIQ domain - Fix infrastructure retirement method issue.

Change automate methods to use archived or orphaned as the criteria to
progress the retirement state machine.

https://bugzilla.redhat.com/show_bug.cgi?id=1074532
[api] Adding support for VM Accounts subcollection

- Access via /api/vms/#/accounts subcollection
- Also via /api/vms/# --expand=accounts
- Added spec/requests/vms_spec.rb to test accounts subcollection
Set locale based on browser preference.
Added Hungarian, Italian and Dutch translations for the login screen
Locales: Add Slovak PO file
Fastgettext: Add Slovak to initializer
Rewritten miq_ae_tools view to HAML + added gettext calls
Modify VixDiskLib Client/Server to Use new ffi-vix_disk_lib gem

Change the VixDiskLib client/server DRb code to use the ffi-vix_disk_lib gem instead
of the existing code in vixdisklib_api, vixdisklib_server, and the contents of the
VixDiskLib_FFI directory.

Two different interfaces to the new gem exist via the "api" layer - direct to the vmware library,
and the "api_wrapper" layer, which performs ffi memory management functionality.

This commit changes an existing file to a "vdl_wrapper" within ManageIQ which applies
a top-level wrapper which interacts with the DRb server code.

The ffi-vix_disk_lib gem has been added to rubygems.org (version 1.0.1) and can be used by this
code.

@Fryguy @roliveri please review.
Fetch the correct authentication type

https://bugzilla.redhat.com/show_bug.cgi?id=1102724
Adding Amazon AWS Config event catcher

Amazon has launched the new AWS Config service that emits configuration diffs on
a scheduled basis.  The new AWS Config event catcher listens to an SQS Queue and
discovers configuration changes.  These configurations changes are parsed and
treated as an event stream from AWS.

Each appliance that attempts to receive events for a single AWS account will
create a unique SQS queue, allowing multiple appliances to listen for the same
events.

Captured events are parsed to determine the type of object changed and the
manner in which it was changed.  For instance, when a stopped instance is
started, the configuration diff will indicate that the item changed was an
instance, and that the state changed from stopped to starting.  When this
configuration diff is recevied, the Amazon Event Monitor enqueues a event called
"AWS_EC2_Instance_STARTED".

There are still other events that need to be detemined from the event stream,
but an initial set has been added to the event handling file to illustrate the
types of events ManageIQ will process.

The only requirement for now imposed on the AWS account configuration is that
the SNS Topic configured for AWS Config needs to be called "AWSConfig_topic".
With that in place, ManageIQ's Amazon Event Monitor can create the appropriate
SQS queue and begin receiving events.

Trello:
Providers: AWS Support for new Config Service
https://trello.com/c/qdeChZPC
Use detect instead of select + first to avoid an intermediate array.

Additionally, the intent is more obvious by removing the extra block.

Other examples of more concise use of enumerable are listed here:
https://github.com/tcopeland/pippi
PR Review

- going to semver versioning, so 1.1.0-pre

https://trello.com/c/PkUsXZx1
Merge pull request #1117 from Fryguy/fix_ci_delete_with_policy_events

Fix issue where deleting a Cluster or Host tries to delete all policy_events
Merge pull request #1138 from jzigmund/browser_locale

Set locale based on browser preference + sample translations
Merge pull request #1049 from blomquisg/amazon-events

Adding Amazon AWS Config event catcher
Merge pull request #850 from jerryk55/ffi-vixdisklib-gem

Modify VixDiskLib client/server code to use the new ffi-vixdisklib gem.
Merge pull request #1134 from abellotti/rest_api_vm_accounts

[api] Adding support for VM Accounts subcollection