API: Adds support to auto set the session locale when fetching the pages on a path.
Improves support for multilingual website, adding root pages.