Set database type according to the corresponding attribute
Auth and sendemail configuration entries are now configurable
Merge branch 'master' of git://github.com/dguerri/gerrit into dguerri-master