Move newArray and its relatives from runtime.js to util.js
Move newArray and its relatives from Context and Runtime to util
Merge pull request #498 from marco-c/move_helpers_in_util

Move newArray and its relatives to util