Track CopyTrans progress at TextFlow/locale level
rhbz1102964 - clear session after each copyTrans batch to improve performance
generate copyTrans test data
rename class
rhbz1102964 - use lazy evaluation and remove unnecessary hibernate calls where possible
Use a query to count textflows in a project iteration
Merge remote-tracking branch 'origin/copytrans-progress-per-textflow' into temp
rhbz1102964 - iterate all locales per copyTrans batch
set test to use merge type import
Revert "rhbz1102964 - iterate all locales per copyTrans batch"

This reverts commit 69db5c082cccdaff9344cf8adf7a0a319eeb77f7.
rhbz1102964 - use native query and clear session after each batch
use query to count textflow to avoid lazy loading exception
fix HQL query for counting active textflows in iteration
rhbz1102964 - heuristic optimization
Merge branch 'optimize-copytrans' into integration/master

Conflicts:
	functional-test/src/main/java/org/zanata/rest/SampleDataResourceImpl.java
	zanata-war/src/main/java/org/zanata/async/tasks/DocumentCopyTransTask.java
	zanata-war/src/main/java/org/zanata/async/tasks/IterationCopyTransTask.java
	zanata-war/src/main/webapp/iteration/view.xhtml