ipalib: Remove redundant and star imports from host plugin

Also fixes some PEP8 errors along the way.

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

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