fixed bug where isActive() returned nil on active pages

To recreate the bug put yellow in a folder with e.g. a space in its name.
The resulting "%20" urlencoded space will not parse against $location.
I added normaliseLocation() into getRequestLocation() to fix this.
Please check if this could break things else where.... If so put getRequestLocation() into isActiveLocation() on line 826:
$currentLocation = substru(self::normaliseLocation(self::getRequestLocation()), strlenu($baseLocation));