Separated the box blur kernel in CompactHeightfield.BoxBlur. Needs profiling to see if it's cost-effective to do twice as much iterating.
Made CompactHeightfield.ExpandRegions do the expansion in-place and avoid the messiness of swapping arrays.
General CompactHeightfield refactoring and documentation improvement.