ENH: Allow temporary directory to be accessible in MRML logics.

TemporaryPath is added to vtkMRMLApplicationLogic, so that the temporary directory can be directly accessible from MRML logics.
Issue #2416