[SQL][CORE] SPARK-2102

Adds in an option into the kryo serializer to enable requiring registration

Adds a resource pool in the SparkSqlSerializer code paths to speed up serialization of generic types.