TINYGL: glBlendFunc Implementation

This pull request contains all the code for the task "implementing an openGL compliant version of the function glBlendFunc".
I just moved it up here, I didn't write it though. As I wrote before I'd like to write documentation once I stop moving and renaming things around