Fixed pylint warnings
build.get_console() now returns string in all python versions
Fixed assertion renamed in P3