Improve validation and actually stop if we only wanted to validate
Add basic parsing of build files
Restore sane arguments
Print exit codes when requested, useful for versioning