Add support for FreeBSD and DragonFlyBSD

refs #7680

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Add support to conditionally use MysSQL and/or PostgreSQL

refs #7680

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Merge branch 'larsengels-master'

fixes #7680