UDF for pig

added a udf to auto encode urls for pig scripts running with cassandra, added a simple unit test for the same