Remove superfluous sys import

The imported sys module is not actually being used for anything.
Provide compatibility with Python3

A few small changes that allow the python-ldap-test package to work with
Python3.
Merge pull request #1 from jerrykan/python3

Python 3 compatibility and code cleanup