Make SpringTransactionHooks use the step definition context

Make an ugly hack in the SpringFactory to apply the same spring context
to SpringTransactionHooks as the step definition classes.