Support DetectArray and TranslateArray

Here are some patches to add support for two of the four outstanding `*Array` methods (issue #6).

While I was here I also simplified building request URLs.