Bug fixes in tvtropes crawler

Too many connection errors and some exceptions such as IntegrityError, FlushError and MultipleResultsFound are handled.
These commits are currently functional. 

There is the suitable terminology: *upsert*.  Try googling it.