BED file parsing improvements.

Mainly rewrites bed_read so it can handle multiple white space characters between columns among other improvements.  Also ensures the error code propagates if anything goes wrong.  Doesn't have complete error checking yet due to a lack of error checks in ks_getuntil.