Give triangle drawing functions same behaviour as HtDP.

Functions for drawing triangles now have the same behavior as those in
the HtDP teachpack. Redundant lookups in the color database have also
been removed, since those are handled by checkColor.