added outputStream.writeN, outputStream.writeUpToN
inputStream.readN, inputStream.readUpToN
Merge pull request #159 from howard-branch/add_read_write_n

added outputStream.writeN, outputStream.writeUpToN,inputStream.readN, inputStream.readUpToN, closes #92, #93, #118, #119