Fix Array#to_n and Hash#to_n
Add Opal.cget to get a fully scoped constant
Some compliancy fixes for the JSON stdlib