Fix namespaced generators

modified to handle namespace of Module is Project Name. and the Class is
Application Name.
Fix fetch project name
Save namespace into the .components
Revert get namespace from the module name
Use folder to autodetect project namespace

Also, emit a warning