Fix issues reported by Cppcheck.
Fix mem leak in FunctionInvoker by making the whole IArgumentType biz deal with shared_ptrs.
Make CMake run's output more concise.