Set references by SRT/SSA/ASS-style timecodes, minor and major parser fixes, parser refactoring and additional tests