Move legacy formatter dependend module code to field_formatter_legacy.module.