Add resource dialog to choose where the image will be stored.

This dialog can guess the name of file using a text selection.
This dialog remember last choice depending of the edited file.
First step for a document builder for mediawiki language

(Only handles images for the moment)