NFL, Referees Reach Deal, End Lockout