TM: Add support for querying local TM
TM: Add local TM support to the editor
TM: Don't store duplicated units

Store only units where project, source, target or translator are
different.
TM: Filter out TM results identical to the unit

We are not interested in results that has the same source and target
text as the current unit.