Moved DB-specific code from nmap2db binary to ivre.db module