Add gflags

Finally I decided to pull the whole gflags source into our repo. I do this for easy maintenance and correctness. Otherwise, we have to deal with different versions of libraries across different operating systems. It's much harder to test.

Please don't merge this until I have tested it on Windows.