LPS-45284 Abstract fallback keys into a FallbackKeys class

Hi Brian:

This applies changes of https://github.com/brianchandotcom/liferay-plugins/pull/2905 to the portal.

/CC @JorgeFerrer