Moved URL pattern-matching code out of Csrfguard class into a separate
URIUtil class so that the code can be updated and unit tested
separately.
Added unit tests for URIUtil class based on the basic examples given in
the bundled example configuration file.