Fix File::readCSV for crlf line termination

Summary: When we see a "\r" at the end of the buffer when reading a line in File we should read ahead further to see if it's part of a "\r\n".

Fixes #1658

Reviewed By: @sgolemon

Differential Revision: D1656908

Signature: t1:1656908:1415080300:9e9e054f4986057d311f716f89a6bffa3ed8eef6
Allow duplicate items in encoded urls

Summary: Fixes #3878

Reviewed By: @sgolemon

Differential Revision: D1633028

Signature: t1:1633028:1414515060:c5eec7b2d50f67a81098a929b8c191d40eb87f96