CLJ-119 Rename refactoring doesn't take metadata into account

This is just a fix for CLJ-119 (Rename refactoring doesn't take metadata into account) I submitted the day before.