URI updates, trait updates

- Fixed URI encoding of the ' issue.  Used braindead approach, but
  this is Bing after all.
- Created basic framework for validating request options that need
  some special handling.  Hopefully with a minimal amount of future
  typing.