Url Encoding escape characters should use a case insensitive compare due to differences in Url encoding between various platforms
Adding a few more tests for query string comparison logic and also cleaning up a few other bits and pieces