allow js to check if its a typedef
build qmap meta data
preserve typedefs when fixing up global classes
use item itself to get its qualified name
enable QFlags based typedef template instantiations
refresh built metadata