FACES-1902 Develop ComponentResource interface and corresponding ComponentResourceFactory (added commends and removed System.err.println)