add checkDependency for student snopt

Resolves #415 
1. add 'studentSnopt' in `checkDependency`
2. `NonlinearProgram` set solver to 'default', which checks snopt, studentSnopt,fmincon,ipopt in sequence.
what about student snopt?  maybe only if snopt_val==0?