Refactor Cheerio array creation

Because so many of jQuery's methods accept "mixed" arrays, the array
normalization logic should be abstracted into a function that is shared
across the manipulation methods.

This approach is also slightly more efficient because it eliminates a
conditional in the heavily-used `evaluate` method.