Refactor and reorganize json loader

Refactoring means that there is now a single function that can read
arbitrary JSON objects, just supply the name of the class that maps
to the JSON object and specify the location of the JSON file
Minor improvements to Zero UDF for Pig plus testcase
Minor improvements to Session UDF for Pig plus testcase
Minor updates to pom files
Fix typo