Improve class LanguageFallbackChain and its factory

Change-Id: I55516170998e983ef7bc0b7c99cf63d31098d46c
Merge "Improve class LanguageFallbackChain and its factory"