Added lock variable to Stream, and fixed formatting
Add concurrency tests back in
Add isSynchronized and asSynchronized to Stream
Merged synchronized additions

* lockable:
  Add isSynchronized and asSynchronized to Stream
  Add concurrency tests back in
  Added lock variable to Stream, and fixed formatting