Fix order of SIM interface signals

Make sure that the existence of the SIM interface is signalled before the SIM is set as present or of the PIN state. This implied some re-factoring of the plugins code so they do not check the SIM status.