metamodel: support toplevel variables #226
metamodel: added Package.getAttribute(name) #226