Add -restrict option; restrict symbol generation to JSON file

Fixes go-gl/glow#42
I think this control obsoletes the `addext` and `remext` flags. Perhaps we could consider pulling out the functionality in this change? Otherwise we can take a separate clean-up pass.