Updated Windows compatibilty patches

I have updated Windows compatibility code from
https://github.com/DennisOSRM/Project-OSRM/pull/880
to simplify futher integration.
https://github.com/DennisOSRM/Project-OSRM/issues/646

Many problematic places (like asm code) were already fixed in develop branch, only "big" fixes that remains are UUID renaming, path.c_str() -> path.string().z_str() and xsi shared memory alternative. Tests pass on Windows correctly (when cuke_datastore is not included).