Added optparser for cmd line args

Started to add OptParser for more flexible parsing of command line
options.  Added new global vars to capture options.
Merge branch 'ADD-TEST-CODE'
Merge branch 'develop' of https://github.com/droffo/ruby-tools into develop
Merge branch 'develop' of https://github.com/droffo/ruby-tools into develop