analysis: move encodeCU() methods and friends to Entropy

This function only encodes a fully finished CTU; it is performing no analysis
and it needs none of the features or members of the Analysis class. It is much
more clear as a member of the Entropy class.

Note: the way bEncodeDQP is communicated is a huge mess and needs to be cleaned
up soon. And finishCU() can also likely be hugely simplified
ctu: optimize away per-row bitstream coders, no output changes

They were really only being used to hold the proper initial state for each
row. This avoids an entropy load/save per CU in encodeSlice() and while I was
in the area I removed another pile of resetEntropy() calls.  The initial slice
entropy state is calculated once and then kept in the frame encoder for all
future uses.
refine depth related.

maxCUDepth:	CU depth
maxFullDepth:	CU+TU or CU+PU depth
unitSize:	always 4
encoder: remove m_maxCuDQPDepth, simplify dqp logic
Merge with stable
entropy: simplify EstBitsSbac

There was no reason for significantBits to be a different type than all the
other fix15 bit costs. And NUM_QT_ROOT_CBF_CTX is 1
entropy: pass bIsLuma to estBit() instead of limited TextType range

if the only options were TEXT_LUMA or TEXT_CHROMA, it is better to use a
bool argument and avoid ambiguity about TEXT_CHROMA_U or TEXT_CHROMA_V
quant: combine psy-rdoq scale and lambda into one variable

Reduces the number of 64bit multiplies required per psy-value
evaluation
cli: update psy-rdoq rangw in CLI help
param: add psy-rd and psy-rdoq to param2string (for info SEI and stats file)
cli: fix help syntax
param: typo
Merge with stable
encoder: fix deadlocks/crashes when picture is a single CTU row

1. if only one row per frame, disable WPP it is pointless
2. if only one row per frame, frame parallelism is (mostly) impossible
3. clamp rateControlUpdateStats() to be within row count range
cleanup: remove unused m_upBuff2
sao: move m_upBuff* to stack, fixes (#69)
Merge with stable
param: correctly detect adaptive quant usage when checking --psnr
frameencoder: do not allocate noise reduction struct unless NR is enabled

This fixes output mismatch between asm / no-asm for 4:4:4 encodes.  Why? I am
not entirely sure yet, but this is an obvious bug fix.
psy-rdoq: eliminate dependency between psy-rd, psy-rdoq and rdoq.

RDOQ is turned on by default in rdLevels 4 and above. Psy-rdoq can be turned on
if rdoq is enabled at that preset. Psy-rd can be turned on with or without rdoq/
psy-rdoq.