derive TEncCu from TEncSearch

TEncSearch methods are only callable from TEncCu methods. and there is much
duplication in their data members. This removes a lot of redundancy and removes
a lot of pointer dereferences

--HG--
extra : rebase_source : 3685d607012f345079e7ae2cf1949338a23683d0
search: make RDCost and TComTrQuant member instances of TEncSearch

Both of these structs are required by TEncSearch, it cannot operate without them
There is always a 1::1 correlation with each. There is no reason at all to
allocated them separately in TLD and then link them all together.  Much simpler
for them to be members of the TEncSearch class.

--HG--
extra : rebase_source : f5fe4e345362d4eb389a25f8eb3b212408bb0fe4
zero stride for zeroPel[]

--HG--
extra : rebase_source : d9cb24be3492551265f658b468b340d560474a5b
cli: retrieve params from the encoder, in case logging flags have changed

For instance, if the user asked for --lossless --ssim, the encoder will disable
SSIM for lossless encodes and we don't want the CLI to report SSIM stats that
were never measured.

--HG--
extra : rebase_source : 9e643e84c360222067f409d1e005bf75ea1113cb
cu: nits
cu: directly use param fields for lossless coding options

Remove m_CUTransquantBypass, m_TransquantBypassEnableFlag
cu: fixing int-to-bool compile warnings