Design aspects and prototype test of a very precise TDC system implemented for the multigap RPC of the ALICE-TOF