Add support for Python 3.x

Add support for Python 3.x besides Python 2.7+. Change all "print"
statements to function calls and modify ConfigParser module import
in order to be safely imported from both Python 2.7+ and 3.x. All
seem work smoothly.