EZP-22643: "Missing form token from Request " when creating an object after clearing cache

https://jira.ez.no/browse/EZP-22643

This patch adds a `ezxFormToken::isEnabled()`, to be used in
https://github.com/ezsystems/ezpublish-kernel/pull/858