Restructured IGC import and checking for duplicates

This is phase 1 of upgrading the explicit importing functionality of IGC
files.