setCapability to transform JS array to Java array
Added basic test for setCapability with arrays
Merge pull request #80 from Calpicow/master

setCapability to transform JS array to Java array