Tests: Set policies in 'complex' tests

These tests cover the OLD behavior of some policies.  Set them to
OLD to avoid warnings in the test output.  Leave a comment that
explains why this is done here but not recommended in general.
Fix leak and address sanitizer tests to be able to run with real tools.

When running CMake under Leak or Address Sanitizer tools, the fake reporting
would get picked up by the outer CMake and reported as leaks and address
failures on the CMake dashboard. This commit makes sure the test only
reports simulated errors when asked to.
cmLocalGenerator: Rename 'MAKEFILE' to 'MAKERULE'

Rename the internal enumeration value for converting paths destined
for use in Makefile rule syntax.
cmLocalGenerator: Fix AddBuildTargetRule object file path conversion

The object file list is constructed for a shell, not a Makefile rule.
cmGlobalGenerator: Create a non-virtual 'DoGenerate' method

Make the virtual 'Generate' method protected.  Make 'DoGenerate'
the main entry point to generation.  This gives cmGlobalGenerator
a chance to do some early operations before the individual
generator-specific implementations take over.
cmDepends: Refactor object file path conversion

Delay conversion of the path to object files (on the left-hand side
of dependencies) until just before they are written.  Also do not
convert the format of paths written to the 'depend.internal' file.
This is consistent with the way the right-hand side of dependencies
are already handled.
cmGlobalVisualStudio7Generator: Remove unused variable
Merge topic 'fix-complex-test-policies'

fb95f820 Tests: Set policies in 'complex' tests
Merge topic 'fix_sanitizer_test_to_work_with_sanitizer'

f7d62cac Fix leak and address sanitizer tests to be able to run with real tools.
Merge topic 'refactor-generator-startup'

f5c0efdb cmGlobalGenerator: Create a non-virtual 'DoGenerate' method
Merge topic 'refactor-makerule-path-conversion'

848fab95 cmGlobalVisualStudio7Generator: Remove unused variable
85cea8a7 cmDepends: Refactor object file path conversion
e7ee892b cmLocalGenerator: Fix AddBuildTargetRule object file path conversion
9f92a78b cmLocalGenerator: Rename 'MAKEFILE' to 'MAKERULE'