Improved RenderRectangleInstruction to render brushes
Changed the Builder class to work with references instead of pointers
Fixed memory leaks
Added gradient definition to DrawRectangleInstruction