Fixed warnings when compiling with MSVC.
remove unused cbf_luma from TU data
replaced cbf_cb/cbf_cr with local parameters pushed down the transform tree
replace transform_skip_flag with local context variable
removed obsolete code
fix out-of-range uvlc error values