Now trims leading and trailing slashes
Fixed a problem with first page in CMS::frontend()
Fixed a problem with language and template presetting