[Util] Add StringUtils.collectLines with unit tests

Change-Id: Iaee6b71c27a55195e8b9031644d1a0f12cec11e1
2 files changed