fix crash with FOLDERID_LocalAppDataLow not found

The macro DEFINE_KNOWN_FOLDER was copied from <KnownFolder.h>,
it will link FOLDERID_LocalAppDataLow to an external dll,
but for some system(to me, Windows 7, Chinese Edition), the symbol can't be found at runtime,
so FOLDERID_LocalAppDataLow becomes GUID_NULL, and at line 52, it will fail with crash.

Really strange.

Let's inspect <KnownFolder.h> again, there are two styles of DEFINE_KNOWN_FOLDER:

#ifdef INITGUID
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
        EXTERN_C const GUID DECLSPEC_SELECTANY name \
                = { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }
#else
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
        EXTERN_C const GUID name
#endif // INITGUID

Shall we use the first one without `extern`?
Changed Mouse Wheel Scroll Delta from 3 to 40 as this is in line with what webkit does.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
FIREBREATH-221 CMake must be run twice on Linux

If CMake is only run once it creates invalid include statements.
The cause is the use of CACHE + PARENT_SCOPE on SET (they are either/or)

Fixes FIREBREATH-221

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Added additional flags for WIX_LIGHT only: ${WIX_LIGHT_FLAGS}

Usable in a scenario where one would need to link a localization file
(using -loc). However, if -loc is passed to ${WIX_LINK_FLAGS}, it will
cause problems with candle.
Added exclusion of link to dl when building on BSD
Merge pull request #98 from kylehuff/master

Fix for compiling Firebreath project in BSD
SOCKS5 proxy handling on some MacOSX browsers
fixed parsing proxy string returned by Chrome when PAC files are used
handling proxy detection case for IE when 'Use the same proxy for all protocols' is set
Merge pull request #99 from ukreator/upstream_master

Proxy detection fixes
Fixed bad access crash when sending JS events
Merge pull request #100 from nvdbleek/send-js-event-fix

Fixed bad access crash when sending JS events
correct use of boost::indeterminate
Use FBString_PluginFileName as OUTPUT for all os
Change Wix Upgrade id by bitness aware GUID
Remove added .dll in config.h
Merge pull request #101 from dougma/tribool-indeterminate

correct use of boost::indeterminate
Merge pull request #102 from diorcety/firebreath-1.7

Fix mix up between used variables for ouput file between the different OS
Merge pull request #97 from bor0/master

Added additional flags for WIX_LIGHT only: ${WIX_LIGHT_FLAGS}
Merge pull request #94 from GordonSmith/X11_SCROLL_DELTA

X11 Mouse Wheel Delta Value