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/

A bit more line breaking in these would be good. Currently some of these seem to be quite a bit on the wide side.