* [conf]: detect libs in FindLCMS.cmake on win
* [build]: yajl as subdirectory

... instead of a external project. That way we inherit
the cmake -G option which is important for win builds to
work smoothly.
* [templates]: use HAVE_DL macro for ltdl detection

HAVE_POSIX failed. On Win/ltdl the RTLD_LAZY macro is not defined.
But we still use that as argument, even without effect.
* [conf]: detect intl, iconv, ltdl, stdint.h and gomp

... on win. Works with actual MSysGit installation. Fixes lots
of compile and link issues.
* [conf]: detect libz for oPNG

Due to the dll hell, libpng is build only statically. Thus we need
all required libs explicitely named for linking.
* [exmpl]: S_IRWXU is not defined for mkdir on MSysGit

We blindly ignore it at the moment.
* [core]: declare functions as non inline for MSysGit
* [core]: cast function arg to satisfy _beginthread()
* [core]: detect MSVC and define some int types

The HAVE_STDINT_H macro is ignored ATM.
* [conf]: define macros for stdint.h and inttypes.h
* [core]: make dlopen macros public to modules

... such as lcms and lcm2, which open liblcms/liblcms2 repectively.
* [lcm2]: skip non checked header include
* [oyjl]: properly detect MSVC for sprintf_s