Fix for issue #8407 - Allow selecting between file or directory when using a File Parameter in the modeler

This pull request adds the possibility to use File Parameters in Sextante modeler with either file or folder behaviours.
The code was already half done, I've just finished it in a similar way as the other parameters.