Hydrodynamic nucleation of vortices and solitons in a resonantly excited polariton superfluid