Remove duplicated code in fileList method of SelectImage class
The fileList method of Rtehtmlarea\SelectImage is almost exact copy
of the parent implementation from ElementBrowser.
We should merge both methods, so it's easier to maintain.
The positive side effect of this change would be to have consistent look and behavior between RTE and normal element browser.