Commented out stream_persist.h
Headers, work in progress.
Added make check target and missing headers.
Made the tests pass as well.
Removed now unused code.
Made 'make test check' and 'make check test' work in any order.
Merge pull request #28 from dkorolev/master

Merging as discussed with Brian offline earlier today.