Better code for converting JS values to Go string arrays.

Includes a regression test for a bug in the latest revisions of Otto.
Updated all imported 3rd party packages to latest.