Allow callbacks in factories for formatters/parsers.

Using callbacks in ValueFormatterFactory and ValueParserFactory
allows builders to inject services when creating formatters resp. builders.

Change-Id: I31b8786f536ec732d53ca33f0859cc6163c7e779
Merge "Allow callbacks in factories for formatters/parsers."