Avoid accessing a nil pointer while running update_swissindex_pharma

Also split the test/util/oddbapp.rb into two files, as minitest seems to have a restriction to 200 test-cases.

Could not test the whole import in my VM as I got connections error, which I could not yet debug. Hope that it will pass on thinpower.

Please run the import in a separate screen, as I have added some debug output, too.