Added tests for streaming storage in and out of IOStreams. Had to correct const-ness of references returned by Get as well as passed around internally. Also refined the definitions of input_type_0/1 and usage within internal functors.