Implement setSecurityPrefs/getSecurityPrefs in XSL extension.

Signed-off-by: Arthur Loiret <arthur.loiret@ens-lyon.fr>
Move exsltRegisterAll call to c_XSLTProcessor constructor.

Signed-off-by: Arthur Loiret <arthur.loiret@ens-lyon.fr>