Fixed a bug where ESI blocks didn't have access to the master request, so couldn't get request parameters
Changed the knp paginator to use a custom processor and custom twig function so that it can get the path and subdomain from the master request when it's an ESI request