add peek until len, add until end for string read
Merge remote-tracking branch 'upstream/master' into readstring-fix
Rename directory utf8cols -> utf8
want to put other utf8 tests there
utf8-tests use EXECENV, add readstring tests
Migrate these C tests to use .test.c
Delete files no longer needed - migrating c tests
(trivial) fix usage for compileline
Rewrite readstring

Now readstring has the following better properties:
 - fewer string copies
 - simpler
 - works correctly reading to the end of stdin
 - respects binary/text mode setting on the channel

In order to do that, I needed to make some minor modifications
to QIO to support reading until the end of the file as
a style setting for binary and text string reading
(qio_channel_read_string is the binary version and
 qio_channel_scan_string is the text version).
Migrate bswap test to use .test.c
No longer needed
Migrate to use execenv
File no longer needed
Forgot to add this file for tests
Fix compiler errors
Add -pthread to compopts to avoid errors on linux
Fix bug in returning EOF for last string read
Merge pull request #312 from mppf/readstring-fix

Readstring fix & testing cleanup

Rewrite read string and cleanup testing

Now readstring has the following better properties:
 - fewer string copies
 - simpler
 - works correctly reading to the end of stdin
 - respects binary/text mode setting on the channel

In order to do that, I needed to make some minor modifications
to QIO to support reading until the end of the file as
a style setting for binary and text string reading
(qio_channel_read_string is the binary version and
 qio_channel_scan_string is the text version).

As a bonus, this pull request also includes removing
three custom sub_tests:
  -  the C language IO tests to use .test.c
  -  the UTF8 test uses EXECENV to ensure a UTF-8 locale
  -  a getenv test now uses .execenv to set the enviro var and adds tests
 for readstring and fixes the usage for compileline.

Tested with 'make check', C language I/O tests, new read string tests,
and the two regexpdna tests (these are the only ones that called
readstring previously), test/io/ferguson. @benharsh
reviewed and did additional testing, including 32-bit testing.