Cleanup of PIG example
Fixed the pig example
Many cleanups in pom files. Fixed typo in license in few places