make the invalidate_star_import stuff easier
add an cache.underscore_memoization decorator to make some recurring patterns easier to read
apply underscore_memoization to builtin
also apply to api_classes
use it for the parser representation as well