Symbolic-computation construction of transformations for a more generalized nonlinear Schrödinger equation with applications in inhomogeneous plasmas, optical fibers, viscous fluids and Bose-Einstein condensates