Add rename list and validation for rename

Checks whether rename is a valid Lua name and not blacklisted (Lua
syntax tokens). Can be disabled.