Use logging for console output

Python 3 removes the print keyword and converts it to a function. This
commit imports the logging module and converts print statements use a
logger object, which will enable the plugin to work with both ST2 and
ST3.