HDFS-1968. Enhance TestWriteRead to support position/sequential read, append, truncate and verbose options. Contributed by CW Chung