TEncSearch: be pedantic about setting cu fields [CHANGES OUTPUTS]

It is somewhat unfortunate that this changes outputs, it means I had introduced
a bug in an earlier commit

--HG--
extra : amend_source : c0b1536f48dc32ed958d52a59c21840d22674b8c
TEncSearch: inline xGetTemplateCost()
TEncSearch: inline xRestrictBipredMergeCand
TEncSearch: cleanup xGetBlkBits
TEncSearch: inline MVP selection from AMVP candidates
TEncSearch: combine motion candidate search into AMVP search loop
TEncSearch: keep merge data together in a struct

This is for clarity, convenience, and to avoid some redundant work
TEncSearch: remove redundant temp buffer

TComPrediction (which TEncSearch derives from) already has m_predTempYuv
motion: remove unused file static array