Use `ev_{,un}ref()` without parameters
Modify weak symbols to work with node v0.8
Avoid closing v8 handles during exit