Removed some redundancies in Renamer.py

Fixed splitstring to for when no * is in the input string and when * is the first character of the string.
Also fixed splitstring's return producing extra spaces at the beginning of the string.