Added more modules to the cdh module
Added metastore to cdh module
fixed syntax errors
Updated history folder permissions in resourcemanager config