Move JSVal into the jsval module.
Implement FooValue() functions.
Implement JSVal member functions to replace JSVAL_IS_* and JSVAL_TO_*.
Merge pull request #54 from Ms2ger/JSVal

Improve the JSVal interfaces.