CMS-2465 Implement list modules REST method in ModuleResource

Added list method to ModuleResource, create generic ResultJson class to use as superclass for more specific result json classes, updated GetModulesHandler to return all modules in case if moduleKeys is null