TINYGL: glBlendFunc Implementation

This pull request contains all the code for the task "implementing an openGL compliant version of the function glBlendFunc".
I'm pretty sure I fixed some of these issues and then branched this branch before doing that...