adapt to API change
improve linker setup for Win64
set proper attributes for Windows
Create parameter for maximum number of template instantiations.

Currently, the maximum number is hard coded. This PR creates a command line parameter for it.
Requested by bearophile: http://forum.dlang.org/post/tsphogrgyjeqyeadqkds@forum.dlang.org
Remove deprecated pragmas.

This was advertized in news group.
Merge pull request #663 from redstar/deprecated

Remove deprecated pragmas.
More cleanup of pragma.cpp

Replace matchPragma() function by a simple comparison.
Merge pull request #661 from redstar/nested

Create parameter for maximum number of template instantiations.
Merge pull request #659 from Trass3r/fixwin64

improve Win64 build
CMake: Remove obsolete CMake compatibility hack.

Now, we don't even attempt to build threadasm.S on CMake
versions older than 2.8.5 anyway.
CMake: Remove split druntime build support (BUILD_SINGLE_LIB).

The separation between core.*, gc.* and rt.* is frequently
violated today anyway to the point of meaninglessness, and
supporting a split runtime would cause a bit of a headache
for shared library build.
CMake: Remove _Dmain shared library workaround for OS X.

_Dmain is no longer referenced in druntime directly; instead,
we generate the C main() in __entrypoint and invoke _d_run_main
with _Dmain as parameter.
CMake: Clean up excessive variables in runtime build system.

The extra paths were hardcoded (and depended upon in other
places) anyway, so just spell them out for clarity.
CMake: Do not include druntime objects into Phobos library.

This is necessary for shared libraries linked only against
druntime to be possible. The library name has changed to
libphobos2-ldc (added '2') to avoid confusion.

See Github issue #416.
CMake: druntime is supposed to always exist.
CMake: Remove unused LDC_IMPORTS variable.
CMake: Silence LOCATION-related warning.

We need to refactor our code to avoid it eventually,
see GitHub #658.
CMake: Refactor druntime/Phobos compilation.

Having the compilation step separate from the actual library
creation lets us reuse it for the new static unittest builds.
Make -defaultlib/-debuglib override instead of append; deprecate -nodefaultlib.

This is necessary as the only point of having -defaultlib
and -debuglib is to enable the user to customize the defaults
set in the configuration, for example to avoid linking to
Phobos.

GitHub: Fixes #416.
GitHub: Fixes #601.
CMake: Fix typo.

The variable was empty when not building with MSVC anyway.