update to nan 1.4.0
fix utf8 string lenght issue with nan 1.4.0
add unit test for padding zero.