fix missing solvers

Intend to solve #381 
1. add checkDependency for quadprog
2. add setSolver in PolynomialProgram
3. Throw error in testQP and sixHumpCamel if some solver is not enabled