Fix path issues

This commit fixes some path issues for resources. It also declares more
in the web manifest for resources that will be loaded while running the
extension.