Quaternion algebras, Heegner points and the arithmetic of Hida families