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. 

I know it's not important but how about use more appropriate name? Something like `insert_or_update_entity` and `add_or_update_entity`.