modified to set region from options if it is set and use config if nothing is set
comments for JSDoc
allow a max array size to be passed for objOrArrayToCsv
changed functions to accept a region and other enums instead of options object
changed name of RANKED_QUEUE to RANKED_QUEUE_TYPE
comments for JSDoc