Updated tab-name.pl

- Added ability to right align text after a separator (%;)
- Fixed channel prefixes not being changed when joining a channel again
- Old messages should be restored when reconnecting or rejoining a
channel (provided that you don't automatically switch to it)