An East Pittsburgh police officer has been charged with criminal homicide in the shooting death of an unarmed black teenager that sparked a wave of protests.