Filter images in JFormFieldImageList

Filter attribute has to be set before field is setup. Otherwise filter would not be used and there are all files from folder in a drop-down
Update imagelist.php

Corrected mistake
Update imagelist.php
Merge pull request #2830 from piotrmocko/patch-11

Filter images in JFormFieldImageList