[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.
Ah sorry, I meant getIntputType call returns TypeSerializer and the AggregatingUdf constructor is taking TupleSerializerBase so could the constructor parameter takes TypeSerializer instead?