CTest: fix regressions introduced by the ctest-fix-run-serial topic

The first regression resulted in endless looping due to unrun test
dependencies. The second regression prioritized all tests with dependencies
in serial test runs.
KWSys 2013-12-21 (e81f2a9e)

Extract upstream KWSys using the following shell commands.

$ git archive --prefix=upstream-kwsys/ e81f2a9e | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 2426b57d..e81f2a9e
Clinton Stimpson (1):
      e81f2a9e FStream: Fix opening non-existant file.

Change-Id: I1f79e6671de7733d1b8e8a34ce627749c2f666b7
Merge branch 'upstream-kwsys' into update-kwsys
export: Implement EXPORT subcommand (#9822)

Teach the export command to handle export sets defined by invocations
of install(TARGETS ... EXPORT foo).  This makes maintenance of targets
exported to both the build tree and install tree trivial.
Help: cmake-packages: Add missing slash.
Don't copy find_dependency in configure_package_config_file.

There is not really any need to. Downstreams can either rely on it
being provided by CMake, or copy and distribute it.

Change the documented include for the find_dependency macro.
Help: Document export(EXPORT) in the cmake-packages manual.
CMake Nightly Date Stamp
CPackWiX: transfer file read only flag during installation
CMake Nightly Date Stamp
CPackWiX: allow and convert UTF-8 sequences in RTF writer
CMake Nightly Date Stamp
CMake Nightly Date Stamp
CMake Nightly Date Stamp
kate: the prev_target is not used by kate

...this was a leftover from experimenting

Alex
kate: support also the build plugin in kate <= 4.12

With this patch, simply also the information used
by the build plugin in kate <= 4.12 is put into the
generated json file. The new build plugin (coming
in 4.13) simply ignores this (and vice versa).

Alex
kate: put full path to cmake into comment

Alex
CMake Nightly Date Stamp
CMake Nightly Date Stamp
CMake Nightly Date Stamp