bug when static url provided in configuration has no ending slash
STATIC_URL was not used in staticURL() function
Restoring miss-deleted HOST_UPLOAD
Merge pull request #241 from rclsilver/master

Some bug fixes when a static URL is defined in configuration (hosts.xml)