Update patch_cos.tcl

Major cleanup of code, to fix the issues with all the elf patches being incorrectly done under the first patch_elf callback.  Divided patches into LV0, LV1, LV2, and "misc"....

patches are done using the new "base" routine for unpackaging the CORE_OS files, making all file patches, then returning back to package up the final pkg of files.

** LV2 (and possibly other) patches still need to be updated, as some are not properly found in the current LV2 file **