[#2] fixed rootPath, and get actual version from package.json

for use url: "company.com/redmine/"
and get actual version from pakage.json