Partial implementation of glGetBooleanv

I used glGetBooleanv for GL_DEPTH_WRITEMASK and GL_COLOR_WRITEMASK, so I added implementation of just that
Merge pull request #6 from tepGithub/patch-3

Partial implementation of glGetBooleanv