CMake: Configure: Implement config_package and mangle_package functions with test-case uses.
CMake: Configure: Update to use the mangle_package and config_package functions.