various fixes and refactorings
fix driver error folding and apply it to more cases
Enhance target parsing and buildline behavior

buildline.py: Add capability to build several targets, separated by
semicolon. Also add a special command, 'clean'.
target.py: Make target parsing less strict, allowing spaces and multiple
commas between flags.