Add a CustomFieldserializer abstract implementation.

It is to be on a par with CustomObjectSerializer and its abstract implementation.
I needed this class for two reasons:
- I was looking for an example to use CustomFieldSerializer.
- I used this on several fields and didn't want to repeat the same code.