Add initial IDN support

IDNs are not currently supported by the client, but punycode is. This
commit converts IDNs to punycode before attempting anything.
IDN support bugfix

Missing else convert for when there's no http(s)
Fixed tabs vs. spaces
Merge pull request #515 from soulseekah/develop

Add initial IDN URL support to blog setup. Props @soulseekah.