nipapd py3 compatibility

* fix configparser import
* fix octal number
* change print statements to function
* change exception to new syntax
* use default buffering for pid file (py3 requires buffering for text files)
setup.py py3 compatibility

change print statements to new function
daemon.py py3 compatibility

Change exception to new syntax
nipapconfig.py py3 compatibility

* change import to configparser (lowercase)
* change read_file func to read_conf since configparser includes its own read_file func
* allow inline comments for py3 configparser
backend.py py3 compatibility

* do not import exceptions, it's standard
* for py3 long is int
* use str for ip
* create list for views
* change import authlib

Note: I had to install python3-psycopg2 and python3-ipy with apt-get
authlib.py py3 compatibility

* change import nipapconfig
* use ldap3 for py3

Note: I had to install python3-ldap3