Remove ThreadEnvironment.
Hide random number generator.
Fix plang test.
Fix stream factory test.
Merge branch 'point-context' of https://github.com/PDAL/PDAL into point-context