Changed encoding to bitstream to be done by LCU

With this commit, the full LCU is searched and coded at a time. This updates the contexts for each LCU so that RDOQ can estimate a bit better the costs for coding coefficients.

Warning: Work In Progress, causes some increase in BD-rate
SAO mode selection uses pre-deblocking samples and the samples are then deblocked before SAO is actually done.