use new JS object function

This is a v8 program, so we shouldn't use old processDeviceJSON
function exposed by c library. Now we reimplement this function
at c++ part.

NOTE: orignal c library's trie parser use static variable, and
it's a little bit lame on implementing the other parsers(JSON)
So I exposed few variables and functions to go through this
issue, but this change will merged into c port(discuss with
51degrees)
bump version