Fixed bug where page location validation executed against the last loaded location rather than the intended target location.
Refactored URL validation to be extensible.
Added support for validating folder terminated locations with trailing / mismatches.
Fixes #21