Replace zedpac C
Description
The only reason we use CGO_ENABLED=1 in pillar is because of zedpac. That, in itself, is just a single function that makes other calls. We should replace this with native go code when possible.
@rvs responded:
Actually no -- its not a single function -- it is an entire implementation of the duktape JavaScript engine that we're embedding -- replacing it will be pretty difficult
We should evaluate what we are using JS for, and see if there is an easier way to do it. There may not be, and thus we may need to live with it.
If not, we should pull it out so that it and only it requires CGO_ENABLED, and it doesn't completely affect the build of pillar.
@deitch does the issue make sense?