Move hooks into service.
This change implements object orientated hooks in a SmartTrimHooks service. .module file is retained to implement legacy hooks. Closes #3511505
This change implements object orientated hooks in a SmartTrimHooks service. .module file is retained to implement legacy hooks. Closes #3511505