fix segfault when onload and onerror are not function
Merge pull request #379 from Costent/master

fix segfault when Image::onload and Image::onerror are not function
Runs on new v8.
Restore Uintiness
beginning nan@1.0.0 conversion
Update NAN
Merge branch 'newv8' of https://github.com/kkoopa/node-canvas into nan-1.0.0

Conflicts:
	package.json
	src/Canvas.cc
	src/CanvasRenderingContext2d.cc
	src/JPEGStream.h
	src/closure.h
NanNew<Value>() -> NanNew()
NanNew() the NanNull()s
Merge pull request #409 from rvagg/nan-1.0.0

NAN 1.0.0 for Node 0.11.13 support
Add support for the lineDash API.

Described here:
http://www.w3.org/TR/2dcontext/#dom-context-2d-setlinedash

The test images match on Chrome, but not on Firefox. It looks like
Firefox resets the lineDash to [] when given invalid parameters. My
reading of the spec agrees with Chrome.