Update what javascript returns in case the result is an array. Related to 731
Refactor some code
Use inheritance
Keep __index in __proto__
Merge branch 'michel_731_internals_jsdriver' into next
Merge remote-tracking branch 'origin/next' into 46_bare_tablecreate