rhbz1110627 rhbz1038852 - Squashed commit for zanata init command

https://github.com/zanata/zanata-client/pull/27

commit 7ab5819cefde4b76a6256cc5ecd5e15435b5df73
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Aug 21 12:14:46 2014 +1000

    rhbz1110627 - handle not exist src dir

commit 8dea609e2c52d70bd6c7db501a5d946e3eea7215
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Aug 21 11:55:58 2014 +1000

    rhbz1110627 - check server is compatible to init command

commit 61fe130f878e7c29798264c9f8188726730700f4
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Aug 5 14:57:43 2014 +1000

    messages change

commit b493a38bd6c1fc71b4a2a2d61b2c4d586717a96e
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Aug 5 12:25:40 2014 +1000

    change message template to match prompt

commit 93173dd4bc829334827a29c759754355889a4584
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Aug 5 10:25:16 2014 +1000

    fix exception type and tests

commit cc4b7d2c62042752e3fc20b58964c28c2ff43e34
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 29 14:03:11 2014 +1000

    change copyright year and a few messages

commit 94ec9adde1e5dbec3d8aa777f4c3736992493d31
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 29 12:23:29 2014 +1000

    improve message

commit f383bd89ab1f3d2e36de8169fee851cbd0533263
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 29 12:22:04 2014 +1000

    remove unique from project id prompt

commit b833d7608cbddc6dbc8e82f5d6a9a07cbf280f79
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 29 12:15:48 2014 +1000

    rhbz1110627 - handle when there is no server url in user config

commit cec96f250a5a8ff0ba9588986bb2a65a1d137f9e
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 29 11:51:39 2014 +1000

    refactoring

commit 3c4f815f66d48fa539df07606091435a0939d2d5
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 29 09:15:46 2014 +1000

    rhbz1110627 - rename method and static import

commit f9e57f8d5fb1de5dd0bdc29f32a5ebc14b64d32c
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 22 08:48:25 2014 +1000

    rhbz1110627 - refactoring

commit 5909e153ad6fa058e672a994b7b756990b62a628
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 16:03:24 2014 +1000

    rhbz1110627 - extract methods in UserConfigHandler

commit 04286baa5eab756dc9d025ebbf391046537db253
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 15:58:43 2014 +1000

    rhbz1110627 - refactor project, source and trans prompt

commit cdf0efc53baeac5192484c7d45548161d539785d
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 15:15:39 2014 +1000

    add copyright to files

commit d65ed059d8558ab08bca3baa4da21c084110bf98
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 15:10:47 2014 +1000

    rhbz1110627 - extract methods in ProjectConfigHandler

commit 65a437ddda8afaee24f3880410e53a0982ea7055
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 15:08:35 2014 +1000

    rhbz1110627 - extract methods in InitCommand

commit c6dbf0b40ef1471ab3b8980d17c8c471561954cc
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:40:38 2014 +1000

    remove UpdateChecker from production code (pending story and RFE)

commit 0fa26af4e5a4068ad5bd5ccbf9c3b92a4c85f4b0
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:32:49 2014 +1000

    rhbz1110627 - missing resource key will log an error

commit 471e5863a49253235892f2f118f4614f7962f0ec
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:23:40 2014 +1000

    rhbz1110627 - rename methods in OptionMismatchChecker

commit 19c50ebebd8bc60935deb72469b99268ee973634
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:15:25 2014 +1000

    rhbz1110627 - rename class Mode to DisplayMode

commit ac0cb550bff27c6c647091b8be2815f1299e8c06
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:09:07 2014 +1000

    rhbz1110627 - rename class

commit 8804142bb0c9474bfc4f811da169df2bae7cb204
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:07:27 2014 +1000

    rhbz1110627 - refactor InitCommand: extract method etc

commit 51a6f99f27e55e207cb3f43e0602eb1e9a0553ef
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jul 21 14:00:19 2014 +1000

    rhbz1110627 - refactor class that expects user input

commit 9db3a2696f6dcb2e0de58b2276e804d91ade5a09
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Jul 17 11:55:58 2014 +1000

    rhbz1110627 - add color output and change some messages

commit 85f9c01a297683251383f7725fc63c831b19ee85
Author: Patrick Huang <pahuang@redhat.com>
Date:   Wed Jul 16 09:38:05 2014 +1000

    rhbz1110627 - able to filter project in long list

commit a8fa92300fee028019a20e2b45acd76aa3d3559f
Author: Patrick Huang <pahuang@redhat.com>
Date:   Fri Jul 11 13:09:08 2014 +1000

    rhbz1110627 - check key availability in resource bundle

commit 99a93043201a3ffe34b2596292293de537861576
Author: Patrick Huang <pahuang@redhat.com>
Date:   Wed Jul 9 15:51:01 2014 +1000

    rhbz1110627 - check if there is newer version of client available

commit 5fe89e2a7e90cb6fc15e7fa2906cf53b15c9daf6
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Jul 3 11:11:12 2014 +1000

    rhbz1110627 - externalize strings to properties file

commit e57037a32939e0b2629ebfebc56e38b0a9eb289d
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 1 13:36:48 2014 +1000

    rhbz1110627 - add init to ZanataClient

commit 8c0c01d3b7c8033651b8fa119b04c3add09dcc4f
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 1 13:36:23 2014 +1000

    rhbz1110627 - fix minor issues and print what's next suggestion to user

commit 60e557a46f9f6682b3054f32cba601f5137f6618
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 1 11:28:57 2014 +1000

    rhbz1110627 - refactor and clean up code

commit 549f095f51d81686845c8ced7692b96600d6769a
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 1 10:53:38 2014 +1000

    rhbz1110627 - refactor to extract project and version prompt to separate classes

commit 769caf5c987988f8b13a3423e0ff7d19bdf9ce14
Author: Patrick Huang <pahuang@redhat.com>
Date:   Tue Jul 1 09:32:06 2014 +1000

    rhbz1110627 - refactor extract project config handling to separate class

commit d001f2be0a906b1f9eb3ed4c228f42fede14edc7
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jun 30 16:59:41 2014 +1000

    rhbz1110627 - refactor extract to separate class

commit 1f11d50717658730f027d1733dc0404e1619cca2
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jun 30 16:37:16 2014 +1000

    rhbz1110627 - refactor test and mock server

commit 11c2d46b65a46d0ec297767e5fc5213644031bdc
Author: Patrick Huang <pahuang@redhat.com>
Date:   Fri Jun 27 15:59:06 2014 +1000

    rhbz1110627 - add init mojo as maven goal

commit 531f2cc2769b27ef74f7ba244c8ded383c3359c0
Author: Patrick Huang <pahuang@redhat.com>
Date:   Fri Jun 27 15:57:29 2014 +1000

    rhbz1110627 - prompt user for trans dir

commit 96a86230847a230221a027a54500c9da66d7c41e
Author: Patrick Huang <pahuang@redhat.com>
Date:   Fri Jun 27 14:40:27 2014 +1000

    rhbz1110627 - use index number to select project and version

commit 49cb2b632dfc8633baf7d514d275e5b6ae6669dc
Author: Patrick Huang <pahuang@redhat.com>
Date:   Fri Jun 27 14:08:59 2014 +1000

    rhbz1110627 - src dir, includes and excludes prompt

commit 9061f89487e2a52cb3e400f2ff7a2982ac3c3fd7
Author: Patrick Huang <pahuang@redhat.com>
Date:   Fri Jun 27 12:20:09 2014 +1000

    rhbz1110627 - refactor ZanataProxyFactory to allow not eager REST version call

commit 508ec9dd508f4e1768682806ddbc85361f24c588
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Jun 26 14:17:18 2014 +1000

    rhbz1110627 - add includes and excludes to zanata config

commit c48414a13da6cc787402d28a2ec3c3727b513691
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Jun 26 10:59:36 2014 +1000

    rhbz1110627 - pull up includes and excludes to project configuration

commit 2d1a9b34bd110b5b61b1ca419a1535510a60a194
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Jun 26 10:26:46 2014 +1000

    rhbz1110627,rhbz1038852 - add src dir and trans dir to zanata config

commit 31319e5ef9629e8b6393658a093c4a4f21661ac8
Author: Patrick Huang <pahuang@redhat.com>
Date:   Thu Jun 26 09:13:45 2014 +1000

    check for potential wrong src dir in podir project

commit 8e0595017a6d362a9edeb3f8a0d86be6d03cff84
Author: Patrick Huang <pahuang@redhat.com>
Date:   Mon Jun 23 09:26:25 2014 +1000

    rhbz1110627 - create init command

commit c27ebac5da785fd3fc2f31c81212bbecdc9e9709
Author: Patrick Huang <pahuang@redhat.com>
Date:   Wed Jun 25 10:17:02 2014 +1000

    add friendlier message to inform user server is not up
fix findbugs error about using Beta guava api
further findbugs fix
fix findbugs