IDEX-1310 Limit output during git clone for some reasonable value. Use a
factory for line consumer so each process can safely close it.

Task-Url: https://jira.codenvycorp.com/browse/IDEX-1310
Merge pull request #7 from sunix/IDEX-1310

IDEX-1310 Limit output during git clone for some reasonable value. Use a