OP stated in Post #5 that the master cylinder is not leaking. If the cylinder is pitted it will indeed damage the piston seal and leak out the front. If the front is dry, the cylinder most likely is not pitted (at least where the piston seal passes by).

Fluid shooting out the cap is caused by the reservoir shutoff stopper not working. That can be caused by pitting where the stopper seats, but until you remove the piston assembly and look inside the cylinder you won't know. It can also be caused by failure of the stopper (rubber tip), or by failure of the rod that slides inside the piston.