Update to Youtube API v3

Hello,

I was looking for a script to get youtube video titles in my irssi this morning, and found yours. Since it uses a now deprecated youtube API, I updated it to make use of the newer one. Feel free to merge my changes if you want to!