Split generation script to share code.

Refactored the original script to support both Python 2 and Python 3
using the same script. Running gl3w_gen.py in either version will work.
For convenience, I added a visual studio solution for compiling gl3w as
a static library. The solution will automatically call the generate
script before building.