Micromechanical model for deformation in solids with universal predictions for stress-strain curves and slip avalanches.