fix use of slice function
clear mp4 variable to allow subsequent uploads on tests
allow to use the same interface for videos with moov atom already on the right position
Merge pull request #1 from wandenberg/master

Fix use of slice function, which expects an end byte position instead of a length. Fixes #1.