Faster scanner and consistent logging

The new scanner is made really fast with asyncore. It can be tuned with
FTP_SCAN_FILE_LIMIT to find a balance between speed and resource usage.