GEOMESA-385 Annotate Return Type of defaultEncoder() Method

Allow Scala to assign to var previously allocated. For some reason type inference was not happy when using the trait.