TINYGL: glBlendFunc Implementation

This pull request contains all the code for the task "implementing an openGL compliant version of the function glBlendFunc".
See https://www.opengl.org/sdk/docs/man2/xhtml/glBlendFunc.xml for a definition of this formula.