FACES-1894 Add general utilities for Liferay Faces Alloy Components (removed accidental backport from master/4,2,x branch)