Rez: add some error reporting
Rez: remove hard-coded include path
Rez: implement "type 'XXXX' as 'YYYY'" directive