When setting custom-resource-path, append a '/' if not already part of i...

When setting the custom-resource-path, introduce a "/" at the end if not already present.

It's very normal to leave out the "/" when setting this value, but if missed, the calls to render will barf when supplied a relative path without a leading "/"

I hope this is a useful change.