ART: Add StackVisitor accepting a lambda

To simplify implementation of visitors. Rewrite some
visitors.

Bug: 115837065
Test: mmma art
Test: m test-art-host
Change-Id: I04172d7626b702c1d69c63eba65526378935a25d
14 files changed