Added automatic lower caser for Module names  in edit page of Control Panel

Added component array checking in module datas