Add more assertions to dynarray
Make scoped_resource safer
Remove stream_guard iostream dependency
Fix hash seed for default hasher