TINYGL: glBlendFunc Implementation

This pull request contains all the code for the task "implementing an openGL compliant version of the function glBlendFunc".
This isn't really an issue, but we prefer nullptr to NULL.