use java serializer to encode unsupported object

In a wordcount job, spark need to serialize objects like byte[] & Hadoop.io.Configuration, which are not supported by current version of pocklepot.
To enable testing picklepot in spark, I add JavaEncoder to encode those unsupported objects.