Fixes #182
Merge pull request #194 from lpinca/master

Fixes an issue related to a wrong variable type (#182)
Add pango build support and improve configure library detection.
Add simple support for using jpeg-turbo library.
Add pango drawing support, and silence some warnings.
Revert "Fixes #182"

This reverts commit 02041571cec76696adf30c3e5f55cdb13e144d20.
fix closure_destroy() with cast for AdjustAmountOfExternalAllocatedMemory()
Trial auto-detection of libraries
Make binding.gyp friendlier to windows. [#195]
Use strndup for duplicating fontFamily strings.
Tidy up build files and util script.
Add measureText implementation for pango
Tweak examples/text.js to show use of extended measureText attributes, and add examples/pango-glyphs.js
Properly dispose of pango related allocations in ~Context2d()
Merge pull request #196 from AllYearbooks/master

Pango support and build improvements.
Release 0.13.0
Fix Context2d::SetFont for pango when setting normal weight/style
Merge pull request #201 from AllYearbooks/master

Fix pango not setting style/weight properly for 'normal'
Improved auto-detection of optional libraries in Red Hat based systems

In RH based systems, libraries are distributed in two separate packages for each version. One contains the precompiled code, while the second one contains the related development files such as headers, etc. (marked as "-devel").
The previous auto-detection was marking the libraries as installed even if their "-devel" part was missing, generating compilation errors.
This should mark libraries as installed only if their "-devel" part is installed.
Fixed an issue with jpeg-turbo library

There were compilation errors if the version of the library was less than 1.2.0.
This was happening because the macros JPEG_LIB_VERSION_MAJOR and JPEG_LIB_VERSION_MINOR were not being defined, since the compile-time macro LIBJPEG_TURBO_VERSION was introduced in version 1.2.0.
The problem was fixed by giving those two macros a definition if it was missing.