A planning application for more than 40 homes and a retail unit near Colchester’s city centre has been approved.