adds appfabric startup script.
renames buffer to local buffer to avoid confusion
adds additional unit tests. fixes read method

adds more unit tests for read and write to make sure that the stream
class holds state properly