Strip subtitles from whitespaces

Rationale:
Subtitles often contain unnecessary newline markers at the end or beginning of subtitle. When saved
to a different format, they might easily break it (Subconvert won't be able to read it). Example:

```
{x}{y}|sub
```

when saved to SubRip:

```
x --> y

sub
```

This fixes issue #46