Added dose patches for portable /tmp directory and quoting criteria for external solvers.
Merge pull request #1711 from rdicosmo/master

Added dose patches for portable /tmp directory and quoting criteria