Move go/build info to its own type. Add UsesCgo boolean.
Add errcheck
Use map instead of function for isStd