rhbz1110627 zanata init

https://bugzilla.redhat.com/show_bug.cgi?id=1110627
and https://bugzilla.redhat.com/show_bug.cgi?id=1038852

Depends on https://github.com/zanata/zanata-api/pull/15 and https://github.com/zanata/zanata-server/pull/520
Does `console.readLine()` return `null` when the console is closed before any input?

The check for non-null is duplicated 4 times here, and would be easy for someone to forget when adding another `readLine()`. I suggest extracting these two lines of code to a method like `readNonNullLine()` or `readLineOrAbort()`.