XWIKI-10411: Add API to generate/verify signature of any macro blocks and make script macro signable

- fix dependencies