Absorbing boundary conditions for solving N-dimensional stationary Schrodinger equations with unbounded potentials and nonlinearities. Applications to ground states computations