Optical singularities and nonlinear effects near plasmonic nanostructures