Added resource resolver mechanic and updated html components to use it - provides a sounder solution for looking up resources with relative paths specified in source files