Support for codesigning executables on Darwin

Mirror LLVM's cmake llvm_codesign function into the test-suite and apply
to all executables.

llvm-svn: 372241
4 files changed