improve pig schema saving and handling of non-named tuples

add base64/jdk serialization for Pig schema to cope with incorrect
toString() starting with Pig 0.8
add integration test for saving bags
fix compatibility with Pig 0.11
handle tuple with non-named keys (that lead to invalid json)