Fix invalid type hierarchy creation by Pojo logic
[FLINK-610] Replace Avro by Kryo as the GenericType serializer

The performance of data-intensive jobs using Kryo is probably going to be slow.

Set correct classloader

try to use Kryo.copy() with fallback to serialization copy
[FLINK-1333] Fixed getter/setter recognition for POJOs

This closes #271