Added command line flag parsing to test script.

Implemented the following:

- -t     flag for testing tool location.
- -c     flag for corpora directory root.
- -h | ? flag for requesting help.

This closes #2 and #4.