add custom definition of set() function to ToolchainVersionOperator that returns None on parsing failure, and fix minor issues reported by PyLint
fix location of collecting build stats