binding: update to nan v1.1.0 API

For newer node v0.11.x support.