extract sprint_aps function from ap_trans_from_ts
extract sprint_aps function from ap_trans_from_ts

and use it in sys_init_from_ts,
this fixes bugs with single AP and no all APs False in a label.

tulip-control/tulip-control,necozay/tulip-control,necozay/tulip-control,tulip-control/tulip-control,necozay/tulip-control,necozay/tulip-control,necozay/tulip-control,tulip-control/tulip-control,tulip-control/tulip-control