Added two settings that we may need to use to fix the problem with the set headers from haproxy missing randomly
added isSSL env as a helper for sogo's webmail config
Moved back zentyal-sogo.conf file to apache's sites folders and improved the http/https detection code
zentyal-sogo is enabled as a site not as a module
create-db script test a mysql connection. Delete user/pass if it fails

 - So a new user/password could be created
Database operations at create-db splited

 - Thus if any of them fails, the other will also be executed
Updated changelog
dovecot master password configuration
generate master password to be used from SOGo to access imap
add and complete doc to methods
add dovecot-sqlite dependency to mail module
mkdir -p of samba's private mapistore dir
Merge branch 'master' into jgarcia/set-masterpwd-for-dovecot
Use DN instean canonicalName for performance reasons
Use DN instead canonicalName for performance reasons
Use DN instead canonicalName for performance reasons
change name of master password file
Use DN instead canonicalName for performance reasons
Use DN instead canonicalName for performance reasons
Remove method canonicalName and use object DN