Final Steps to the Field Theory: Faraday's Study of Magnetic Phenomena, 1845-1850