Fix recursive import. Do not make dnn import opt. opt stil import dnn
fix import of sandbox.cuda when nvcc not avail. Needed for doc gen
Merge pull request #2280 from nouiz/import_fix

Fix recursive import. Do not make dnn import opt. opt stil import dnn