Fixes #5706. Allowing parens in URIs if not last character.
Fixes #5800 cast user guid to an int
adds warning for those using a string value with the operand "IN" for metadata pairs
Merge branch '1.8'