Add: ODTSubstitution and ODTSubstitutionLine hooks with $odfHandler for ...

...extended ODT substitution

This is a rework of a previous pull request:
https://github.com/Dolibarr/dolibarr/pull/554

This patch introduces a few new hooks instead of passing $odfHandler to the complete_substitution_array() function.

I have tested it with my own module and it works. People will now be able to do extended ODT substitution (images included) using these hooks.