Corrected double space in JHtml::image output and tests