Cleaned up YouTube link handling

Refactored YouTube link handling into two regular expressions to be more
robust against poorly formed YouTube links.