changed how py4j connector returns output of geogit commands.

It seems that, for large strings, it is not working and it freezes. This commit implements a different approach, in which strings are obtained in smaller fixed-size chunks
Merge pull request #631 from volaya/py4joutput

changed how py4j connector returns output of geogit commands.