Hi.
Thanks for your query.
Noted the history and understood the concerns.
You have stomach issues and been 
vomiting frequently; using water to make evacuation easier. Had small amounts of brown flakes in t stool and had acid in it. 
The brown flakes is not due to the 
blood in stool as it would make the stool black and not brown.
The history of acid in stool indicates an intestinal infection.
I would advise you the following:
Get the stool and 
blood test.
Other tests as per the clinical evaluation by your Doctor. 
If there is an intestinal infection you may please go for a course of an antibiotic active against intestinal infection; add-on probiotics, activated 
charcoal and multivitamins.
This will help you the get proper diagnosis and to get rule-out certain diseases. 
Other wise there looks to be not much of a problem.
If there is no relief with medication then get a 
colonoscopy and further management under the care of a Gastroenterologist.