Refactored Dolibarr triggers

Refactored Dolibarr triggers:
Created a DolibarrTriggers abstract class.
Moved common variables out of construct class
Improved run_trigger method signature
Versions are now constants of DolibarrTriggers class.
Then we'll refactor both when we'll add namespaces :p