Ticket 48204 - update lib389 test scripts for python 3
Description: Added support for python3, and also addressed certain failing
test scripts.
https://fedorahosted.org/389/ticket/48204
Reviewed by: rmeggins(Thanks!)
(cherry picked from commit 3d0ae27c29cc3a0fb9c152b012903c63a94c5dd6)