Get TEKS import working fully

before this commit, only ~300 line items made it to the DB. Now, the
full 4186 can be successfully imported.

Lessons learned:
+ the key (e.g. 5.a.iv) is unique to the specific course
+ don't trust the data you're given
  + write diagnostic code to cover all cases in your scripts