Multiple, add "gsub_string", start parsing option in "lock-n-run", more...

* The routine "gsub_string" was added.
* One master subroutine header file for libCLISUB.a routines was created.
* The "convert_to_mode" routine was extracted as a separate subroutine.
* Code to process command line options in "lock-n-run" is partially done.