Support command line options for build path and extra arguments
This emulates the options accepted by clang tools that use CommonOptionsParser.
Add a flag to stop after top down matching.
Add a flag for controlling the maximum size parameter for bottom up matching.
I think a '.test' extension rather than '.sh' is better