reorganize source

for coherence and to avoid conflicts with unit tests
remove unused types
rename CGI packages coherently
move module CGI subdir under main module dir
change package names for subnamespaces in core
change paths accordingly to package names
adapted EBox::CGI::Run to the new CGI naming

and refactor to simplify implementation
some fixes / more refactoring

and set debug = yes by default
simplified zbuildtools
fixed inclusion of EBox.pm in common
add also the Zentyal:: namespace to make it compatible with zentyal-security-updates
Merge branch 'master' into jacalvo/restructure-code

Conflicts:
	main/common/ChangeLog
	main/core/ChangeLog
relocate core cgis
avoid warning
fixed old packagename in unit test
fixed wrong renamings
Merge pull request #337 from Zentyal/jacalvo/restructure-code

Jacalvo/restructure code