* doc/api.md: clarify when to use DB-based installers
Refactor RHEL6 installer and move out some common snippets