Make rewinding at the end optional

Implements johndyer/mediaelement#546