Add test for baseldap.entry_to_dict.

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
baseldap: Fix undefined variable reference in LDAPAddReverseMember and LDAPRemoveReverseMember
idviews: Add necessary schema for the ID views
idviews: Create container for ID views under cn=accounts

Part of: https://fedorahosted.org/freeipa/ticket/3979
idviews: Add ipaAssignedIDVIew reference to the host object

Part of: https://fedorahosted.org/freeipa/ticket/3979
ipalib: Remove redundant and star imports from host plugin

Also fixes incorrect error catching for UnicodeDecodeError.

Part of: https://fedorahosted.org/freeipa/ticket/3979
ipalib: PEP8 fixes for host plugin

Part of: https://fedorahosted.org/freeipa/ticket/3979
idviews: Create basic idview plugin structure

Part of: https://fedorahosted.org/freeipa/ticket/3979
idvies: Add managed permissions for idview and idoverride objects

Part of: https://fedorahosted.org/freeipa/ticket/3979
idviews: Set proper objectclass for the ID override objects

Part of: https://fedorahosted.org/freeipa/ticket/3979
hostgroup: Add helper that returns all members of a hostgroup

Part of: https://fedorahosted.org/freeipa/ticket/3979
hostgroup: Remove redundant and star imports

Part of: https://fedorahosted.org/freeipa/ticket/3979
hostgroup: Selected PEP8 fixes for the hostgroup plugin

Part of: https://fedorahosted.org/freeipa/ticket/3979
idviews: Add ipa idview-apply and idview-unapply commands

Part of: https://fedorahosted.org/freeipa/ticket/3979
idviews: Extend idview-show command to display assigned idoverrides and hosts

Part of: https://fedorahosted.org/freeipa/ticket/3979