Add -restrict option; restrict symbol generation to JSON file

Fixes go-gl/glow#42
I'm not so certain. Other people may be using addext/remext today and want it to keep working. Also it allows for a regular expression which could be more useful in certain situations --  don't think these options overlap each-other but instead compliment one another.

If you want, I can remove them though.