[code-browser] Use regular resources for entry points.
[code-browser] Allow a slash at the end of a library or  module, so the next part will be empty.
[code-browser] Set content type.