Solitons and other nonlinear waves for the perturbed Boussinesq equation with power law nonlinearity