FACES-1894 Add general utilities for Liferay Faces Alloy Components (moved method from AlloyComponentUtil (liferay-faces-alloy) to ComponentUtil (liferay-faces-util) since it is also needed by portal:inputRichText)