TINYGL: Dirty rects system.

This PR contains an implementation of dirty rects system.
You can find more information behind the design and implementation in the following blog posts: 
http://subr3v.blogspot.co.uk/

These don't sound like anything but arbitrarily chosen values, in practice you could use these to clip your rect to screen if you initialize them to the screen rect, no?