Add -restrict option; restrict symbol generation to JSON file

Fixes go-gl/glow#42
Let's keep the parameters for now. Over the long term perhaps the right answer is to allow the JSON file to specify direct and regex inclusion parameters. Until then I agree we should keep a consistent API.