cudata: perform MV scaling directly within POC distance function

this avoids some code duplication and is also a bit more efficient
cudata: coding style nits

* reorder arguments so outputs are listed first
* pass const by reference
* return single integer output rather than pass by reference
* A == 0 ? B : C => A ? C : B;
* standardized variable names (puIdx, absPartIdx, etc)
search: nits
search: use Cost instances to accumulate costs in xEstimateResidualQT
search: remove x prefixes from inter residual coding functions
search: sync up argument names between source and header
[OUTPUT CHANGED for 422] made loops for chroma components in xEstimateResidualQT()

The output change for 422 is valid. Initially the no. of bits(cbf and coeff.) were calculated
per block and per chroma component. Now the no. of bits are calculated per chroma component.
doc: remove uncrustify helper scripts

I don't expect a lot of whole-new file development or wholesale style
enforcement. Leave the config script in place for new developers.
search: remove redundant logic
cudata: split getQuadtreeTULog2MinSizeInCU() into intra/inter functions

The caller usually knows what the CU prediction mode is
search: remove redundant work from residualTransformQuantInter()
search: simplify checks for 2x2 chroma blocks

"log2TrSize == 2 && m_csp != X265_CSP_I444" essentially means that the chroma
transform would be 2x2, aka log2TrSizeC == 1.

In offsetSubTUCBFs(), the chroma tu size is not calculated but implied. We
should be able to skip the X265_CSP_I444 check since the function should only
be called by 4:2:2 encodes that code two half-sized chroma blocks per luma block
entropy: make a fast const method for getting MPM mode signal cost
search: use fast-path to get mpm mode signal cost

inline single caller of getIntraModeBits
search: move getIntraDirLumaPredictor() into getIntraRemModeBits()
search: add a fast method for estimating non-MPM intra mode signal cost
search: make getIntraRemModeBits() const
entropy: simplify loadIntraDirModeLuma
search: trModeC -> tuDepthC
Merge with default (prep for 1.4 release)