moved logic to get test method lower in function

as the entire process will abort if there is no project settings file I moved the logic for getting the test method until after
the potential abort so it would be more efficient.
cleaned up code a little
cleaned up code a little
cleaned up code a little
Merge pull request #1 from finalcut/master

Add ability to optionally select a specific test to run.
Updated read to reflect new features submitted by @finalcut
merged changes from master to make sure there are no conflicts
merged cleaned up code; as I had started this branch before the cleanup obviously