TS-2161: TSHttpTxnHookAdd memory Leak

Make sure that the FeatureAPIHooks destructor correctly frees the
APIHook list.
Some indentation and printf cleanup