Add the possibility to set an optional log file for debugging.

Only Ipopt output file is supported for now.
Merge pull request #1 from bchretien/master

Log solver results