Replace print statements with logging using mozlog

@whimboo 
This is to fix #26 
Please use `foobar: %s' %` as format here too.