Fix #1247: AgaviException::buildParamList has escaping issues