(#21272) Refactor created directory from 'puppet module generate'

Currently the created directory is 'username-modulename'.
This patch changes this to 'modulename' because that's mostly used.
Merge pull request #1711 from electrical/rename_generate_dir

(#21272) Refactor created directory from 'puppet module generate'