Implement Zanata-SPA-0.0.3

Squashed commit of the following:

commit f1d0d6191d9535ea6cf3ca1584317b2de8fceae9
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Oct 13 13:20:50 2014 +1000

    Upgrade zanata-spa 0.0.3

commit c4fc387783d44f9fcafe36668f1cd453c3fc44e6
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Oct 10 09:40:47 2014 +1000

    Upgrade to zanata-spa-0.0.2

commit ff58b0cf0b12541d21c032f93b5a920ff6b1368a
Author: Alex Eng <aeng@redhat.com>
Date:   Fri Oct 10 07:06:26 2014 +1000

    Return empty target if no target found

commit 3ff27b5a17706e3ad8974789795c672938da1030
Author: Alex Eng <aeng@redhat.com>
Date:   Thu Oct 9 12:59:08 2014 +1000

    fix left join query for textFlow and target

commit cecda048f0972be79b98da26145c52c924302264
Merge: b9d1c21 c38332c
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Oct 8 09:31:56 2014 +1000

    Merge branch 'integration/master' into zanata-spa

    Conflicts:
    	pom.xml

commit b9d1c21d4f077bc3971951c333d5764433fba498
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Oct 8 08:30:55 2014 +1000

    Add zanata-spa-0.0.1

commit c89e9e7a03e894869a9de7462e3afa225edc17a6
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Oct 7 16:34:07 2014 +1000

    Add unit test for editor dto and service

commit 9cb0b5a056ccb716c24aaa2bb35e6e3e3b97659e
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Oct 7 14:24:36 2014 +1000

    Rename textFlow to EditorTextFlow, fix n+1 issue in query

commit 1e07dd7288454bf40876642e820cfc280e65f6a9
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Oct 7 11:15:02 2014 +1000

    Add new editor link to existing editor

commit f1fd535acfbb4f7628760d702917f57f3447ab30
Author: Alex Eng <aeng@redhat.com>
Date:   Sat Oct 4 22:22:03 2014 +1000

    Moved zanata-api resource and DTO to server

commit a7b1b73581d99731af51a2ba8d9b87858e8e552b
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Oct 1 21:47:26 2014 +1000

    Add end point for translation update

commit 628e5d8ca215d8023fa274e9c7f96cd26b2d48a2
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Oct 1 15:50:18 2014 +1000

    Add source+trans endpoint

commit 2ebc7b63d57967a328019cee12ac20c7ae3ee3e7
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Oct 1 15:07:04 2014 +1000

    Add translation endpoint

commit 3320719ac436cd642a284fa57412eb1cf9a3f9ff
Author: Alex Eng <aeng@redhat.com>
Date:   Wed Oct 1 11:14:39 2014 +1000

    Add source endpoint

commit 32d7f8126ddf7822b4c9174c303372268fd22010
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 30 15:27:56 2014 +1000

    Create new package for editor to separate rest service

commit 3a08277731c91d0c47018657bb784502a9b3fe07
Author: Alex Eng <aeng@redhat.com>
Date:   Tue Sep 30 11:27:27 2014 +1000

    Handle docId slash

commit 6f784555a96bfb9c84b04f673cb01f8dc716d301
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 29 19:50:30 2014 +1000

    Add user info end point

commit 120eb90b9ab7e9e3caec091b21ca25c94dfbd075
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 29 16:01:00 2014 +1000

    Add document statistic endpoint

commit f234f10e30ffee1e268a97bb28282c932dae1c7b
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 29 14:46:40 2014 +1000

    remove p and i from rest url

commit df0bb1ce8b4e4a28f7d047ab189dda3f265f401c
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 29 14:20:23 2014 +1000

    Add transUnit resource endpoint

commit 960d65c4f17c3b4dab94ef29559a2e35656f79b9
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 29 13:11:09 2014 +1000

    Add version locale list endpoint

commit 2fc597b18dd3c952365bd0c5e3de274f2106bc04
Author: Alex Eng <aeng@redhat.com>
Date:   Mon Sep 29 11:23:54 2014 +1000

    Add endpoint locales list from zanata server