Fixed Error that prevented NPM install on mac.

NPM spat out a error that there was only 2 params in DGIFOPEN. I added
the third, an error interger.
Load version from package.json
Merge pull request #300 from mojodna/version

Load version from package.json
Patch for Node 0.11.3
Added backwards compatibility through conditional compilation.
Merge pull request #302 from kkoopa/master

Patch for Node 0.11.3
Merge pull request #270 from matthewborden/master

Image.cc error when compiled on OS X, fixed but needs to be merged to the NPM repo.
Revert "Fixed Error that prevented NPM install on mac."

This reverts commit 92d8e84a6d5644e445f5a16242413f4fcb1d9545.

incorrect
0.11.4+ compatibility using NAN

See https://github.com/rvagg/nan
Release 1.0.4
Fix resource leaks on read errors
Fix immediate variable reassignment
Merge pull request #307 from mscdex/master

misc fixes
JPEGStream: add progressive mode option

Progressive jpegs have several very useful advantages over baseline
jpegs:

* Slightly smaller for the same quality (3-7%)
* Load much faster in most browsers.

This adds the `options.progressive` option to the
canvas.jpegCreateStream() function.
Merge pull request #309 from iFixit/progressive-jpegs

JPEGStream: add progressive mode option
Readme: update docs for canvas.jpegStream()

Include a note about the lack of an asynchronous implementation.
Merge pull request #310 from iFixit/readme-update-jpegstream-docs

Readme: update docs for canvas.jpegStream()
Initial commit of extracted PNG creation.
Added compression level argument to Canvas::toBuffer
Cleaned up code and added the same fix to Canvas::StreamPngSync