Merge pull request #34 from makinacorpus/stable

Merge pull request #30 from makinacorpus/master
Merge pull request #35 from makinacorpus/stable

Stable
refactor fail2ban
refactor postgis
refactor qgis
use makedirs
refactor dbsmartbackup
refactor pureftpd
pureftpd refactor
refactor psad
apache+php refactor: apache part

cc @regilero @Squizou
PHP refactor

cc @regilero @Squizou
Mysql refactor

cc @regilero @Squizou
fix pgsql prereq
fix: func genpass was renamed, use real position
adapt project V1 api to refactors

cc @regilero @gagaro, i think this will be breakages to fix :)
For beecollab, i let you fix them, @gagaro

I removed the full & stanadalone switches which are no more used in v2
V1 can still continue to work at the prize of running everytime in full mode.
This is just a compatibility layer ;).
add only_steps switch to v2 api