[CDE-129]: Refix context to resources url in run-time

The previous commit broke CDE when you saved the dashboard, when in pentaho5, in a directory like "/public", and it wasn't building the resource url correctly, giving the tag name instead of the file name
@diogofscmariano please review