Ticket 48309 - Fix lib389 lib imports
Description: Remove redundant imports, such as
"from lib389.properties import SER_PORT" when
"from lib389.properties import *" is presented.
Group imports by standard library, related third party,
lib389 library.
https://fedorahosted.org/389/ticket/48309
Reviewed by: mreynolds (Thanks!)