fix map in scanlib
use warnings and strict
use lib basename instead of require
remove useless prototypes
bugscan now uses basename
use bugcfg
use scanlib