[scala] Change ScalaAggregateOperator to use TypeSerializer

Before it was using TypeSerializerFactory. This led to problems with the
user code class loader and is not necessary.
What do you mean by explicit conversion?