Fix #59, update to latest Nan version as 0.11.13 introduced some breaking changes
Fix #59, small change for node <0.11
Merge pull request #60 from dainis/master

Update Nan to 1.0.0 as node > 0.11.4 introduced some API breaking changes