Removing `type` arguments

Thanks to @RushPL, we have now got a much nicer API for NanAssignPersistent. I managed to integrate it with the current codebase in a backwards-compatible way, while deprecating the old API. Once the deprecated stuff gets purged (say for NAN 1.0 / node 0.12.0), the extra cruft can be removed again.