CodecFactory isn't serializable, 

so it made our avro serializers not serializable.  This is an attempt to fix that.

I'm not particularly happy with how this works, so really wouldn't mind a second set of eyes.  However, until something like this gets in, develop can't actually run a tiling job, I don't think.