Full rename Node to Device, Repository to Folder (fixes #739)