Fix node renaming bug when using the '.' character
Created by: akien-mga
Fixed by making '.' (and '/') illegal character in node names when adding via the rename feature.
Based off #503 by @sanikoyes with some cosmetic fixes + removal of a _TR()
function that we don't support.