Change Error to ErrorMessage in several structs so the messages can be serialized to JSON.
Added readtest.go to test individual bags from the command line