Added test runner.
Improved splitting of given buildfiles, targets and options.