pylint

This pull request contains the fixes for a couple of pylint warnings/convention. Most important changes: Unused imports were removed, the shebang was changed to a more generic version, and the output of the passed time is now limited.