Generalized Galileons for Particle Physics and Cosmology