Squashed commit of the following:

commit ffa2b634184573d53500d87d992b654942203788
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 23 09:38:45 2013 +1000

    Update comments on method

commit e6b261bedd545a0bb821ff0ae658586ee73f2d9f
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 23 09:33:56 2013 +1000

    Replace treemap with hashmap

commit 3b56302e685e23c60fd90c0b554905baa064bac5
Merge: f597acf b2714d6
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 23 09:19:53 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit f597acf0a642b41cae3534e40d06e5ea76d964d6
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 23 09:19:34 2013 +1000

    Fire validation event when workspace context changes

commit 436b9bffa0d45e8dfc2853ab5e880d5d0e800430
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 17:23:52 2013 +1000

    Refactor comments and method name, remove translatWithoutValidation as it only apply for revert translation

commit c8cb5fff95a4e787eced5234eee0cb5a64abbfce
Merge: 101682d 49b2450
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 15:48:46 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

    Conflicts:
    	zanata-war/src/main/java/org/zanata/webtrans/client/ui/ShortcutContextAwareDialogBox.java

commit 101682d225fbd7ddf353f0e82525b2c042425a63
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 15:46:42 2013 +1000

    Add comments on methos

commit d83a16e9f383c46da6b87e6a6f7f1f5f3aa90da8
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 15:45:13 2013 +1000

    Refactor ValidationServiceImpl, to reuse implemented method

commit 5ec500233946d15cbd7e0606861c9ea1dec1475a
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 15:31:14 2013 +1000

    Rename variables, method name

commit fe2d17e781354bf7606e0eb6771f36a1bbeba785
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 14:42:36 2013 +1000

    Refactor names and implementation

commit 6c851f52837963639567e9019b3d408edae59b17
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 09:15:54 2013 +1000

    Merge project/version validationOptionsAction, create validation_options template for both project and version create/edit page

commit 0ed29a339fa5f0d9a13004bf4c496c7019691b48
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 20 07:02:32 2013 +1000

    Rename and refactor implementation

commit e860f85c74596c796289c8a17ec4433d5572508e
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Sep 18 08:35:17 2013 +1000

    Fix sharing same validation action in different session

commit 292b87f3e0f525c7e947cfb50dceca49ec9480f3
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Sep 18 08:25:00 2013 +1000

    fix sharing of validation action between sessions

commit c8f9121150e2c4c91fd090a1f98ef6b8594819c2
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 17 15:59:55 2013 +1000

    move validation check before Htarget attached to textflow

commit e3cbde83fa4308ad3fee480aebcf8fb0f1ce0e5c
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 17 14:30:35 2013 +1000

    disable mutual exclusive validation option in editor

commit 4827f738bef73bd6f7bb61df877254f79dea3170
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 17 13:30:16 2013 +1000

    Implement validation check on copy trans service

commit 6e648e44610c7d2ea6b5c74357448c948cc10fd8
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 17 11:31:24 2013 +1000

    Add validation help in create project/version page

commit f3e3709457620e73d72540a2b9ec19f5f46d81a1
Merge: af77b2c 7a06c68
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 17 10:31:47 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit af77b2c0acbf731558a94e79f31cedc4b285c1cf
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 17 10:31:20 2013 +1000

    Add validation option help in edit project/version page

commit ee5f8f80940ce8ed0c315b1cc6ee057e18d762f0
Merge: 38f0411 c906adc
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 13 15:28:42 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit 38f041191d575b35a5141d78e5cab005133dbccc
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 13 15:28:13 2013 +1000

    Fix unit test, fix validation warning dialog to disable editor shortcut

commit 30cfd189179af0690af4dbf8b472f136c069406c
Merge: 1723848 6a43a65
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 13 10:48:57 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit 1723848f0a91d6ffa66112fbf6a1b98e28dacfef
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 12 17:02:06 2013 +1000

    Fix validation row shown if changes made in project/version page

commit fb16f00cb0cd5f06bc11695aaf97002999db2931
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 12 15:06:01 2013 +1000

    Add validation list for creating new project/version

commit 4c7f7bad0b7ede900757c52ef5cc99183a7188c7
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 12 14:22:28 2013 +1000

    Fix missing set instantiate

commit ecb1ce48169e8a02c55452a462544ec2a0ea9e45
Merge: 6f1eb98 cb251ee
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 12 13:38:26 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit 6f1eb984fe9d3b3365042c34c704d7999f813b17
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 12 13:38:03 2013 +1000

    Remove unused fields, refactor validationwarningpanel to use TextContetnsDisplay rather than hightlighting label

commit 298cbf6d718359da579ac7b603e6e686da1ed960
Merge: 1a100e8 bf11906
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 12 09:39:14 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

    Conflicts:
    	zanata-model/src/main/java/org/zanata/model/SlugEntityBase.java
    	zanata-war/src/main/java/org/zanata/action/ProjectIterationHome.java
    	zanata-war/src/main/java/org/zanata/webtrans/server/rpc/AddReviewCommentHandler.java
    	zanata-war/src/test/java/org/zanata/webtrans/client/presenter/TransMemoryMergePresenterTest.java

commit 1a100e8d542011df18e1614e2b55e400423b38be
Merge: fda5c2c 8344ad3
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 10 12:25:21 2013 +1000

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

commit fda5c2cce9890e3f0c3f06d24e35e8e80cd52e0d
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 10 12:24:49 2013 +1000

    fix unit test

commit a72aea8c2de07826b2c58ba75fedb45f8711fdeb
Merge: 1aba6bc 627dd85
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 10 10:38:29 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit 8344ad356b1458fb9d308118609df31e3e78da0c
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 9 14:21:01 2013 +1000

    Disable editor keyshortcut when popup

commit 38f17d59d54403d7745c503c2d52e320e2d61022
Merge: bc7c3b6 e5cdc12
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 9 14:00:59 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit bc7c3b65324559c6c9ccd417c12d7b738ba86132
Merge: 1aba6bc b3634f3
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 9 10:35:06 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

commit 1aba6bc9560072b7b679418ef14a9ce201c87331
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Sep 6 09:40:27 2013 +1000

    Refactor validation warning popup

commit 6c8a258a0ce5a5cff87d693ce7947da5e59405f7
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 5 15:57:10 2013 +1000

    Refactor implementation on validation check in translationservice

commit 1092756d633ca1dad23d10f8e74ec9f467b0dc1c
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 5 15:54:14 2013 +1000

    Implement validation check on document uploads via zanata client on REST and UI

commit 5f69d2fcfdb54a968e6b10481001e8128f28c0b5
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 5 11:01:11 2013 +1000

    Add unit test for validation warning popup

commit 7cd4781687aa9cb49216a81a473ed89bea0ef909
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 5 10:39:58 2013 +1000

    Fix unit test

commit 632ecc9a80c216926e20ee5a171b75de25456724
Merge: e13fcf8 b370025
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 5 09:56:45 2013 +1000

    Merge branch 'integration/master' into enforcedValidation

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

commit e13fcf89734251b72a2ecc77d4e76544e2e412e5
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Sep 5 09:41:29 2013 +1000

    Implemen TM merge and searchreplace to handle validation error

commit b34ef8f811be4d89785c425affaee372e5786b75
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Sep 4 07:16:42 2013 +1000

    Refactor validation service

commit fcfea91a10ef5eee623f769c7b5538e07cfc5155
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 3 15:13:01 2013 +1000

    Refactor validation service

commit 150a92a35666bb0004f67f82e34fd33c95bf1791
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 2 14:57:15 2013 +1000

    Work in progress: server side validation checking on editor update translation

commit 72697eff2791770e094ec289502bbdbdcdcd2371
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 2 10:48:25 2013 +1000

    Implement validation warning popup when save translation that has error

commit 8f9fa9dae2b5ce9f847b56b7db916c5805879357
Merge: 4db56e7 36974bd
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 2 08:55:26 2013 +1000

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

    Conflicts:
    	zanata-war/src/main/java/org/zanata/webtrans/client/presenter/TargetContentsPresenter.java

commit 4db56e7c3d35b9a33a4bd67447891f85625c2fea
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 2 08:54:23 2013 +1000

    work in progress: validation warning popup

commit 36974bd34a503d61b0a1caf17367f520920013ed
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Aug 30 16:06:13 2013 +1000

    Work in progress: implementing popup validation warning when save

commit fac276a0edbe66fe4a152d277444a17aec06fda2
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Aug 28 13:36:15 2013 +1000

    Implement locked, enabled, disabled validation according to server rules in client

commit 5743dfc8b24d3fd19b5bab709ee64be45a70ef87
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Aug 27 09:59:55 2013 +1000

    Work in progress: handling new states for validation

commit 1306059a1b56a83b35c490f377031013ec8ae537
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Aug 26 15:13:55 2013 +1000

    Work in progress: applying new validation action state in editor

commit 2d27fffa738e9bff0efde1e9eafe6b710bdec67b
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Aug 23 15:36:01 2013 +1000

    Work in progress: refactoring validationservice for new state

commit 8277879375005271a512cabe4375846504210892
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Aug 22 16:25:27 2013 +1000

    Make validation option visible all the time

commit c06e94e501b5bb31bf1b1beb8a036577f6787ec9
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Aug 22 16:15:53 2013 +1000

    reformat xhtml file

commit f38d7b2e62df50f8a47cd57bb094108866b15b05
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Aug 22 16:06:23 2013 +1000

    Work in progress: new states for validation action in project/version edit page
Merge pull request #191 from zanata/squashed-enforcedValidation

Enforced Validation: prevent saving of translations that have validation errors
Merge commit 'a9594efe0a7a9714798af799b391b4cc9a79e427' into HEAD