feat(util.to_query_str): Smart handling of lists

This patch improves to_query_str so it can recognize instances of
list and convert it to a comma-delimited string value.

Closes #152
Merge pull request #174 from kgriffs/issues/152

feat(util.to_query_str): Smart handling of lists