The Muskat problem in two dimensions: equivalence of formulations, well-posedness, and regularity results