Added flag to toggle logging in IdealController

@es92 added a flag to disable trajectory logging in IdealController. He found that this logging could cause OpenRAVE to crash with a "too many open files" after running a large number of simulated trajectories.

On a deeper level: Why does IdealController log trajectories to disk at all? Unless there is a compelling reason to do so, I would be in favor of completely removing the logging.