Fix #1091: Improve genPrimitiveJSRepeatedParam for arrays of primitive types.
Merge pull request #1096 from sjrd/revisit-genprimitivejsrepeatedparam

Fix #1091: Improve genPrimitiveJSRepeatedParam for arrays of primitive types.
Fix #1097: Emit 'new js.Array' as '[]'.
Merge pull request #1099 from sjrd/intrinsic-new-jsarray

Fix #1097: Emit 'new js.Array' as '[]'.