refactored main/import/include code so compilation all goes through VirtualMachine::compile
put code quality checks in a separate pass, overridable via --tolerant