Consistent declaration and use of UTF-8 Charset constants, plus related polishing
Polishing
Apply extra checks to static resource handling

- remove leading '/' and control chars
- improve url and relative path checks
- account for URL encoding
- add isResourceUnderLocation final verification

Issue: SPR-12354
Next Development Version