Reorganize handler architecture
Handler will be reorganized so:
- Only few base packages corresponding to platform : Apache, Nginx and other PSGI
- New "vhostType" option permits to choose in the manager between: ** Main ** AuthBasic ** ZimbraPreAuth ** ...
- Each base package has its directory to store supported types (ApacheMP2/AuthBasic.pm for example)
- Type can be overloaded by an environment variable (to be able to change type in a Location): PerlSetVar for Apache, fastcgi_param for Nginx
Example:
- ApacheMP2 has just handler() method
- it looks at type and launch ApacheMP2::
- all ApacheMP2:: inherits from ApacheMP2::Main and Lib::
- of course ApacheMP2::Main inherits from Main.pm