Injectable TaskExecutionFactory

This might not actually be an enhancement or adding any feature.
But, by allowing TaskExecutionFactory to be injected,
extended PrestoServer can add its specific behaviour
like applying different task.max-memory by some condition.