The total rest-frame UV luminosity function from 3 z 5: a simultaneous study of AGN and galaxies from −28 MUV −16 | Synapse