added support for 'content_type' property in texture_units. also fixed a bug in parsing shader references.