Fix for IZPACK-943

Check the URL for null before creating the ImageIcon. Add a loadIcon()
method to factorize code.
Merge pull request #169 from sebastien-christy-neomades/IZPACK-943

Fix for IZPACK-943