Coerce DynArrays to Java arrays in method invocations (DYNJS-118)

This builds on top of the new array coercion in rephract to coerce
DynArrays to Java arrays as long as all elements of the DynArray can
be coerced to the required Java type.
Merge pull request #59 from bbrowning/dynjs-118-part1

Coerce DynArrays to Java arrays in method invocations (DYNJS-118)