Add all query parameters to the object URL.

This is so we can reproduce the query exactly when highlighting.
Merge pull request #32 from adam-vessey/7.x

Add all query parameters to the object URL.