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/

Does it help to forceinline these? They look rather complex to me. (And thus the runtime of the overhead is probably swamped easily by the actual function runtime)