add test/support for empty strings and arrays, null, undefined, false, and number; also, dropped utility function for converting to array and replaced with to-array.js