Issue #44 allow yum repo server to be executed in any web context, not only as ROOT context
* use proper URL encoding
* fix javascript code to use either relative URLs or the right base path