Only fix the root page domain in `Controller::generateFrontendUrl()` upon request

To remain backwards compatible, the `generateFrontendUrl()` method will only append the root page domain if the fourth argument is true. Otherwise it will return a relative URL like it did before version 3.3.