[core] Add Direction argument to TwoWayLayoutManager's measureChild()
[layouts] Change spannable grid layout to use common measureChild()
[layouts] Cache lane and span on measure to optimize decorations