Tests: Build and test KWIML even when testing an external CMake

The CMake_TEST_EXTERNAL_CMAKE option added by commit 9608ef6f (Tests:
Optionally configure tests exclusively, 2014-03-03) is intended to allow
one to run the CMake test suite with a compiler that may not be
supported for hosting the build of CMake itself.  However, we currently
use the CMake test infrastructure to test KWIML everywhere that CMake
supports.  In order to continue testing KWIML even in places that CMake
itself does not build, include it even when testing an external CMake.
Help: Update cmake-packages.7 examples to import targets only once

Package configuration files should load their targets files at most once
in a given scope.  Update our ClimbingStats example to show how to do
this.
OS X: Install CFBundles as complete directories

Install CFBundles as directories just like frameworks and application
bundles.
VS: Fix handling of non-preprocessor flags in CMAKE_RC_FLAGS

Teach the VS >= 10 generator to honor flags other than -I and -D
in the CMAKE_RC_FLAGS[_<CONFIG>] variable.  Place them within the
ResourceCompile .vcxproj element under AdditionalOptions.

Also add a rudimentary flag map to map '-n' to 'NullTerminateStrings'.
MSVC: Fix linking of DLLs on WinCE (#15013)

On WinCE we must link both shared libraries and executables with the
/subsystem:windowsce flag.  Teach Platform/Windows-MSVC to pass it
to the linker in both cases.

Suggested-by: Gunnar Roth <gunnar.roth@gmx.de>
cmTarget: Fix CMP0022 OLD breakage from recent refactoring

In commit 7b0834e9 (cmTarget: Refactor internal LinkImplementation map,
2014-06-19) cmTarget::GetLinkImplementationLibrariesInternal was changed
accidentally to pass "this" to ComputeLinkImplementation instead of
"head".  Change it back.
Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)

Fix cmTarget::GetSourceFiles to set EvaluateForBuildsystem on the
$<TARGET_PROPERTY:...,INTERFACE_SOURCES> generator expression so that
the $<TARGET_OBJECTS> generator expression is allowed within an
INTERFACE_SOURCES value.

Extend the InterfaceLibrary test to cover this case.  Extend the
RunCMake.TargetObjects test to cover failure of $<TARGET_OBJECTS>
when used through $<TARGET_PROPERTY:...,INTERFACE_SOURCES> in a
non-buildsystem context.
FindCurses: Remove blank line at end of file
Help: Link to variables corresponding to id and version expressions (#15012)

In the cmake-generator-expressions(7) manual, link to the variables
that correspond to the PLATFORM_ID, C_COMPILER_ID, CXX_COMPILER_ID,
C_COMPILER_VERSION, and CXX_COMPILER_VERSION generator expressions.
Merge topic 'build-KWIML-always'

38d3fe07 Tests: Build and test KWIML even when testing an external CMake
Merge topic 'doc-package-target-import-once'

cfab942e Help: Update cmake-packages.7 examples to import targets only once
Merge topic 'interface-sources-target-objects'

affe9d56 Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)
Merge topic 'install-cfbundle-directory'

a3ac67cc OS X: Install CFBundles as complete directories
Merge topic 'wince-fix-dll-linking'

7e1283e4 MSVC: Fix linking of DLLs on WinCE (#15013)
Merge topic 'vs-RC-flags'

5d873846 VS: Fix handling of non-preprocessor flags in CMAKE_RC_FLAGS
Merge topic 'refactor-link-internals'

f45ede61 cmTarget: Fix CMP0022 OLD breakage from recent refactoring
Merge topic 'doc-genex-id-values'

5690a963 Help: Link to variables corresponding to id and version expressions (#15012)
Merge topic 'FindCurses-blank-at-eof'

ccf2fca1 FindCurses: Remove blank line at end of file