Serialization of 'Closure' is not allowed translatewiki.net

I tried to replicate the error but no matter what I had no luck in rasing
the exception. I suspect that $this->queryProcessor->getParameters()
contained an "Has improper value for Coordinates" object which causes
serialize( $params ) to fail. Since other #ask queries/query
data objects are working as suppose to be and unit test
won't cover this exception, I decided to add the new methods setQueryId()
which does not rely on the return queryProcessor->getParameters() and
rather uses the rawParameters (only contains string values).

Bug: 46783
Change-Id: Ie63509eca2cc1a5def940dd85f27ebd540f34fd3
Merge "Serialization of 'Closure' is not allowed translatewiki.net"