New cache method and use it in version.getVersion
Refactor server bugtracker code
Move some logic into usage-statistics