use parenthesis
ResMgr.cc, ResMgr.h, resource.cc: move some methods to ResType;
make ResMgr a descendant of ResType; make type_value_list a pointer
to avoid calling a ctor for each static ResType.