Added public API for Rend (renderer) module

Moved R_HSVToRGB() to libdeng1, and split "resourceclass.h" into
internal and public parts.
Added public API for R (Resource) subsystem

libdoom now compiles and links successfully.