wiasane: Moved Scan helper methods to separate wiasane_scan.[cpp|h]