linking: Add more language-specific link flags

Adds the following variables:

* CMAKE_<LANG>_EXE_LINKER_FLAGS
* CMAKE_<LANG>_CREATE_WIN32_EXE
* CMAKE_<LANG>_CREATE_CONSOLE_EXE
D: Fix compilation of multi-language projects
D: Improvements and fixes to Visual Studio support

Linked libraries are now set properly, though they needed to be
split into their paths and the actual filenames due to a bug(?)
in VisualD that wouldn't accept quotes in the libfiles tag.

Text import libraries added via include_directories(TEXT)
are now handled and added.

Also now correctly sets output and intermediate output directories.