Updates 3rdparty lib versions, fixes pig module

I've updated a bunch of 3rdparty lib versions, and attempted to fix the pig module, given pig internal api changes.

@billonahill, @julienledem if you have any feedback on the pig updates, I'd love to hear them.