XWIKI-9782: New Crypto Service API

Introduce the new Crypto Service, moving the old one to legacy.