rhbz1077439 Refactor copyTrans to use lucene search for matching text flow target

https://bugzilla.redhat.com/show_bug.cgi?id=1077439