Improve support for external solvers

Updated criteria for external solver, added help and aligned patches to dose in src_ext with the ones in dose package.