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. 

Follow lexicographical order.
'from lxml.html import document_fromstring, parse'
'from .entities import Entity, Redirection, Relation'