define functional test index and stats directory to under target
rhbz1062508 - bdd key shortcut to switch between editor for current row
rhbz1062508 - add attention key to editor switch
rhbz1062508 - remove spellcheck option
rewrite test to make better use of matcher
rename method and wording of messages
- Refactor copy trans: https://bugzilla.redhat.com/show_bug.cgi?id=1077439

Squashed commit of the following:

commit 007569c1341c209146bc48396bdfbd23c52904c4
Author: Alex Eng <aeng@redhat.com>
Date:   Thu May 1 07:49:02 2014 +1000

    Refactor code

commit 8a2e21f01f490b8809505565d5fd540725af1907
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 30 16:00:29 2014 +1000

    Refactor code based on review

commit f7cbd787d8bf617a87d5b5401e7d0032f3b1f4e7
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 29 15:57:28 2014 +1000

    Add TranslationFinder impl to TranslationFinderTest Execution

commit f2141732f32721bc95052f841e324caedaa31e43
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 29 16:13:25 2014 +1000

    refactor maxresult and sort checker

commit 5dd9aedc15a29b6db297f288c7e822c3029f914d
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 29 15:56:07 2014 +1000

    Use of database query for copyTrans, fix sorting for tm search to use score

commit 7584ef4e13d82b7806c6f02317c0966be4084f52
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Wed Apr 23 17:49:52 2014 +1000

    Move and simplify tests from CopyTransServiceImplTest to TranslationFinderTest

    Remove CopyTransServiceImplTest combinations which are tested by
    TranslationFinderTest

commit 475fde4bf79f52ebea726e4808f2fe8a8952a009
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Wed Apr 23 17:46:13 2014 +1000

    Remove need to pass in a persistent HTextFlow

commit 64f2b569f4de1f88ebd9b2175c24a847fdb14b4f
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 22 14:50:35 2014 +1000

    Reduce number of executions to keep test time manageable

commit 52347cffff8b55db25b1ea97ae2fc75bf3c60882
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 22 14:49:10 2014 +1000

    Fix broken unit test

commit 3a1d349de389ecbf72cc3aebc62f3a95a8215f85
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 15 17:53:34 2014 +1000

    Move searchBestMatchTargetTest to TranslationFinderTest

commit 164c674c47ce52051fd3e26d9e47802c8bd0ce43
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Apr 17 09:16:00 2014 +1000

    Implement lucene sort using lastChanged

commit 890c48d8c412a2cf858fdab0c95ce5d7014e19d2
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 16 14:54:41 2014 +1000

    revert naming of the test method.

commit 6db712fae02c16328f4caf4774c55034e77c73de
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 16 12:15:22 2014 +1000

    Fix unit test with new documentDAO param

commit 1f5f5adc50db5d4f476c42d60b5e599fda10080c
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 16 11:26:29 2014 +1000

    Remove lastChanged override in target

commit f7b408c97441b0d05901fbeb82dd2d41974b68ed
Merge: 997dd5b 1db4c3e
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 15:54:38 2014 +1000

    Merge branch 'rhbz1077439' of github.com:zanata/zanata-server into rhbz1077439

commit 997dd5b599c782413e003f38d99b7aaeb9a8595c
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 15:54:22 2014 +1000

    Use text flow id index for excluding option in tm search

commit 1db4c3ef9835fac3bc2fbf9af3319f2a6375ab40
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 15 15:11:44 2014 +1000

    Remove redundant test

    Requirement is covered by TranslationMemoryServiceImplTest.searchBestMatchTargetTest.

commit 05197b47957c08241eca1a3c3f81eaced093a3b3
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 15 14:40:56 2014 +1000

    Annotate ZanataJpaTest with @Test again (to fix REST tests)

commit 3f6d381f308e2ad23a7f907519b8a778574317ce
Merge: 3b90ea2 c7a9df7
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 14:29:21 2014 +1000

    Merge branch 'rhbz1077439' of github.com:zanata/zanata-server into rhbz1077439

commit c7a9df7459a2f6861ee88523d4017d6bb8790bf9
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 15 14:22:12 2014 +1000

    Update CopyTransServiceUnitTest

commit 3b90ea2e5fe0e836bf7fd5764e50b3571b3bf8d1
Merge: d4bd248 c02a26b
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 14:06:11 2014 +1000

    Merge branch 'rhbz1077439' of github.com:zanata/zanata-server into rhbz1077439

commit d4bd2482e3a123aeb87696e34c7bee6b5d14b187
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 14:05:56 2014 +1000

    Add tf_id as index

commit c02a26bceb4a2c60003d3390ff30a741b14ad1af
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Tue Apr 15 13:49:36 2014 +1000

    Change TranslationMemoryServiceImplTest to load the DB once only

commit 034c81de5d177cb7f7161dacc9fa5770304b79ec
Merge: 26290c0 bb3d19c
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 10:23:02 2014 +1000

    Merge branch 'rhbz1077439' of github.com:zanata/zanata-server into rhbz1077439

    Conflicts:
    	zanata-war/src/main/java/org/zanata/service/impl/CopyTransServiceImpl.java

commit 26290c0b222d37cf4a03058477d29733ae66aad3
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 15 10:15:19 2014 +1000

    improve filtering of tm list

commit bb3d19cb0382d16b2607665f405eeb74a16a9356
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Mon Apr 14 17:31:18 2014 +1000

    Extract CopyTransWorkFactory; add basic unit test for CopyTransService

commit c3c1344e3ccba413409af5b06af0693b5a38742a
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Mon Apr 14 15:09:50 2014 +1000

    Extract CopyTransWork from CopyTransServiceImpl, along with tests

commit 559ddd1b2e889c436b4f0e2777d8a6e4a7013123
Merge: 86fec53 0a1b1d4
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Apr 14 13:45:19 2014 +1000

    Merge branch 'integration/master' into rhbz1077439

commit 86fec5396e5dfefdc02bd5c9181d5dea8eb50f8b
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Apr 14 13:44:19 2014 +1000

    Merge copyTrans to use lucene index for search

commit 85b6076b8a3b827f4f507bd04d273004d588ecb9
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Thu Apr 3 11:16:50 2014 +1000

    Create TranslationFinder interface

commit 5f656f2c9231649fcb7b0935d7f526b6a9caca1f
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Apr 11 15:53:35 2014 +1000

    WIP: generating unit test for tm service

commit 9459a43583df97fd194f37a80786772b1c50117b
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Apr 10 15:44:50 2014 +1000

    WIP: refactor copy trans

commit 27a49fe2e35fb004943325264db113dd27cf0e93
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 9 15:55:07 2014 +1000

    WIP: test for TM search

commit c3ded2b8398c8735872230394c480a1be50deb19
Merge: 628badd 907ce45
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 9 15:06:58 2014 +1000

    Merge branch 'integration/master' into rhbz1077439

    Conflicts:
    	zanata-war/src/main/java/org/zanata/service/impl/CopyTransServiceImpl.java

commit 628badd7f3f711b1b3e9f7c1909acf2019db068c
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 9 15:02:25 2014 +1000

    WIP: integration test for TM service

commit f461e6ea492bdeb08e8e134d17da300f8e26cfce
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 8 15:59:33 2014 +1000

    Move test to TM merge handler test to ServiceImpl

commit 80d9f18198fad419f9788adecfa4fa0e4c0284b2
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Apr 7 15:38:51 2014 +1000

    Fix unit test to use lucene index

commit 81afeb074023673c49e9cb3d590db3cab4842c7e
Merge: 2d61836 ea1069b
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Fri Apr 4 13:00:01 2014 +1000

    Merge remote branch 'origin/rhbz1077439' into rhbz1077439

    Conflicts:
    	zanata-war/src/main/java/org/zanata/database/ConnectionWrapper.java
    	zanata-war/src/main/java/org/zanata/service/impl/TransMemoryMergeServiceImpl.java
    	zanata-war/src/test/java/org/zanata/service/impl/CopyTransServiceImplTest.java

commit 2d6183641e739b00e3d25c54d0d35f4d5cd95d3e
Author: Sean Flanigan <sflaniga@redhat.com>
Date:   Fri Apr 4 10:52:56 2014 +1000

    Ensure Lucene indexing in CopyTransServiceImplTest

commit ea1069b752b3873d121ea5a4872052ce8995e517
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Apr 4 08:30:54 2014 +1000

    WIP: copytrans

commit 790c9426102d730a47103fec8c9c3ac9aa224c0c
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Apr 3 16:19:47 2014 +1000

    WIP: copytrans

commit ea1b06681070e3fc964ccb6cc12b0d6b9bab0403
Merge: 6230240 1f3f7bf
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Apr 3 14:01:03 2014 +1000

    Merge branch 'integration/master' into rhbz1077439

    Conflicts:
    	zanata-war/src/main/java/org/zanata/webtrans/server/rpc/TransMemoryMergeHandler.java

commit 623024015a89def4df0117170be9205d67239832
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Apr 3 14:00:33 2014 +1000

    WIP: include project, document and resId condition in TM query

commit 27194111bb9564df41db570a8d69395ec8313618
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Apr 2 15:55:31 2014 +1000

    WIP: refactoring copytrans and get translation memory service

commit 3cc1e79c58a56967332b94e2340aa5d54bc50202
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Apr 1 16:00:44 2014 +1000

    WIP: integrating copytrans query to use lucene

commit 5f12a1a6b8008513dcf25abc420c87570d6df70d
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Mar 31 16:02:27 2014 +1000

    WIP: refactoring copy trans and TM merge
RHBZ1025645 Added the required documents
Merge pull request #427 from zanata/add_gpl_documents

RHBZ1025645 Added the required documents
Merge pull request #409 from zanata/fix-functional-test

change functional test lucene index directory under target
fix copy trans message
rhbz1062508 - add attention key hint for toggle syntax highlighting
externalize text to WebTransMessages for easy localization
Merge branch 'attention-key-hint' into editor-switch

Conflicts:
	zanata-war/src/main/java/org/zanata/webtrans/client/resources/WebTransMessages.java
Merge pull request #418 from zanata/rhbz1077439

rhbz1077439 Refactor copyTrans to use lucene search for matching text flow target
Merge pull request #379 from zanata/editor-switch

rhbz1062508 - disable spellcheck in codemirror and add key shortcut to switch between editor for current row
Implement bookmarkable url for version and project page
Squashed commit of the following:

commit 30d7509f5f414324b80f02d622c685c27946713a
Author: Alex Eng <aeng@redhat.com>
Date:   Mon May 5 12:18:50 2014 +1000

    Update functional test

commit f0c91140ff73cc28b23c973cb8ea1afbcf225cab
Author: Alex Eng <aeng@redhat.com>
Date:   Fri May 2 14:37:23 2014 +1000

    bookmarkable url for project and version page

commit 08514186d65dd1dcd5ba06a772709f4c840db22c
Author: Alex Eng <aeng@redhat.com>
Date:   Fri May 2 12:51:09 2014 +1000

    WIP: version - document tab

commit 08daff86947c993042cda26a733ca8ec1d329f9a
Merge: c1b0eac 4ec8ed7
Author: Alex Eng <aeng@redhat.com>
Date:   Thu May 1 15:59:06 2014 +1000

    Merge branch 'integration/master' into version-bookmark

commit c1b0eac85f2a1eaffee216dbc5891631833d6387
Author: Alex Eng <aeng@redhat.com>
Date:   Thu May 1 15:57:56 2014 +1000

    WIP: refactoring bookmark on project and group page