counting commas in ImportTest instead of matching the exact order the files are imported

and jshint for the former ImportEditView.js functionality
for #1586 added todo to the logging functinality
using debug functionality in #1586 to reduce most testing output