Fix DYNAMIC_BASE templates
Support 32 and 64-bit for exe-only, and fix -k
Document method

Fix #4366 (support dynamic_base templates)
Land #4377, Support DYNAMIC_BASE templates - resolves #4366