Add VM switching API.
fix JSmodlue
add Json.new(Class)
Merge pull request #381 from tetsurom/SwitchVM

this is an API for using built-in virtual machine