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.