[FLINK-1178] Changed type preference to ValueType, WritableType, CaseClassType

This closes #162