EZP-21743: Removed usage of PageService in block templates.

This depends on https://github.com/ezsystems/ezpublish-kernel/pull/566