extension scaffolding script

you can generate a new extension when you call xcore new extension <name>, an extension of the desired name is generated in the lib/extensions folder, along with other essential files and folders
Merge branch 'master' into scaffold_script

Conflicts:
	scripts/xcore
Added closing bracket for select statement.
Added CPAL license for compliance.
Merge branch 'scaffold_script'