Converted inter mv candidate functions to use lcu structure

Implemented merge and mvd candidate search
Added initialization of the whole work_tree
Fixed CU array calculations in inter_get_spatial_merge_candidates()