WEBCMS-87  WEBCMS-86 - Added Factory Unit tests and modified all new factories to pass PEAR standards for Modules in RelivApplicationPlugins and Vista