Use the print function instead of the print statement

The print statement has been replaced with a print() function,
with keyword arguments to replace most of the special syntax of
the old print statement (PEP 3105)

* http://docs.python.org/3.0/whatsnew/3.0.html
* http://legacy.python.org/dev/peps/pep-3105/
Merge pull request #1002 from jmaas/master

Minor improvement to LDAP configuration, fixes #217
Merge pull request #980 from berendt/print_method

Use the print function instead of the print statement
Fix QA for pull #980