Tiny performance improvement !
Add optional $collapsedParams to regular getQueryParams for the case when you only want to collapse a few.
Merge pull request #15 from gaillard/master

Tiny performance improvement and a new param to getQueryParams()