Add -restrict option; restrict symbol generation to JSON file

Fixes go-gl/glow#42
As a thought, how do you feel about post-generation filtering vs. building filtering into package generation? I'm wondering if these restrictions should be factored into `PackageSpec` and respected in `ToPackage`. It might end up being more code however... In any case this implementation is fine, I'm just thinking out loud.