Add subtitles.script_resolution()

Returns the values from the headers if they're present, or does the
insane Gabest-logic if one or both are missing.
Slightly speed up karaskel.collect_head