added CircularBuffer and LineReader
don't fail bsd bot when json is not available
Merge pull request #1130 from gsomix/feature/getline

LineReader class for reading lines from file stream