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. 

`entity` could be `None`.