fixes #5553: FiltersHelper#search_path returns an empty string for unrecognized resources
Fixes #5637 - Don't raise lease conflicts when reading ad-hoc DHCP leases
fixes #5660 - use with_taxonomy_scope for OS media selection
Fixes #5221: Adds a helper method to allow a model instance to inquire if the instance is authorized for a particular permission.

Model instances can be asked directly if they are authorized for a particular
permission by, for example, calling 'instance.authorized?(:view_model)'. This
abstracts and centralizes some of the repetitiveness of having to instantiate
an authorizer and pass the instance to the 'can?' method as the object of inquiry.
Fixes #5664 - Host filters can use taxonomies

Also disables taxonomy filters on resources that do not support them.
fixes #5690 - determine host taxonomy fact based on setting value
Fixes #5689 - Plugin permissions are migrated too
fixes #5726 - parameter values missing from host#show API call
fixes #5788 - before_destroy missing from EnsureNotUsedBy.new in SmartProxy model
fixes #5671 - LookupValue name should be matcher, value is too long
fixes #5631 - API v2 - host and hostgroups show.json.rabl should show all puppetclasses in child node
Fixes #5645: Fixes session undefined error when user has a default taxonomy set.
fixes #5685 - add :path_ids to with_taxonomy_scope instead of subtree_ids for SmartProxy select dropdowns
fixes #5836 - Welcome page - missing rel attribute
Usergroups can be linked to an LDAP auth_source. This allows usergroups
to be on sync with its equivalent LDAP usergroup.

Relation between auth_sources and usergroups

Tests, validations, and actual LDAP queries

Rake task to periodically refresh LDAP user groups

Adding LDAP users is done through User.where, not iterating through all possible users

Migration for groups/user OU, recursive usergroup search

Non recursive LDAP rake task

Check against LDAP aliases, or other empty results

Remove code from other branch

Remove Users OU because its irrelevant with Ldap_fluff

Ldap_fluff added to Gemfile

Refactor to use ldap_fluff and server type

Refresh usergroups on user login

Refresh ldap task in package

Rescue refresh usergroups errors

External LDAP usergroups

Refresh external usergroup LDAP

Wrong usergroup validation

Removed breakpoint

Fixed tests for external usergroups

refresh permission

Skip validation if non ldap usergroup

Factories for auth_source_ldap, remove anon queries