Add caption_margins to cutscenes

Closes #850

Margins are calculated as a percentage of the screen size. The format is
`caption_margins=x,y`, where x controls the left/right margins and
y controls the bottom margin. The top margin is ignored since captions
are aligned to the bottom of the screen.