quvi/youtube.lua: normalize: Revise, remove "nocookie" handling

Revise:
* Remove youtube-nocookie.com handling (no longer operational)
* Add test_normalize function for testing purposes
* Improve code readability

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
media/youtube.lua: Use HTTPS if input URL uses it

Use HTTPS throughout the operation if the input URL is an HTTPS URL.
The script previously made the video info queries over the HTTP even if
the input URL was given as an HTTPS URL.

Note that the media stream URLs are only available over HTTP; the
service apparently supports HTTP media stream transfers only, and any
attempts to force HTTPS will result in HTTP/403.

Other:
* Cleanup and revise for readability

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
playlist/youtube.lua: Use HTTPS if input URL uses it

Use HTTPS throughout the operation if the input URL is an HTTPS URL.
The script previously made the playlist queries over the HTTP even if
the input URL was given as an HTTPS URL.

Other:
* Return the media URLs using the input URL scheme

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
subtitle/youtube.lua: Use HTTPS if input URL uses it

Use HTTPS throughout the operation if the input URL is an HTTPS URL.
The script previously made the subtitle queries over the HTTP even if
the input URL was given as an HTTPS URL.

Other:
* Return the language URLs using the input URL scheme

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
scan/youtube.lua: Return HTTPS media URLs if input URL uses it

Other:
* Remove handling of youtube-nocookie.com (domain no longer operational)
* Create strings using tables (the "Lua way")

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>