Merge pull request #2514 from bootstraponline/master

Restore API check for setCompressedLayoutHeirarchy
Try harder to dumpWindowHierarchy