Add Function modify-rdn

Added the function modify-rdn because I need it in a project. I also converted all line endings to unix because I had problems with the other endings.