The pulse profile and spin evolution of the accreting pulsar in Terzan 5, IGR J17480-2446, during its 2010 outburst