Removing vestigial references

I paired with Asheesh on this. 

We removed the functions 
`log_error` and `finish_import`
and the variable
`data_transits`

We found these using vulture
https://github.com/myint/vulture

There appears to be a lot of other vestigial code as well. Will reserve for future pull requests.