New techniques for precision atom interferometry and applications to fundamental tests of gravity and of quantum mechanics