NXP-12534: partly rollback changes, using JSF context if available, and using a custom Seam context also containing DocumentModelResolver if not