switch from EitherT to ErrorT for use with latest pipes-attoparsec. Cleanup cruft and add some type signatures back.