Adds viewer support for type masks

The dependencies viewer also displays type masks for used-by / uses
rows.
Merge branch 'masks'