Contentstore streaming range

Currently, users can only download ContentStore files from first byte to last byte.

With this change, when a request to the ContentStore includes the HTTP "Range" parameter, it is parsed and StaticContentStream will stream the requested bytes.

This change makes possible to stream video files (.mp4 especially) from the ContentStore. Users can now seek a specific time in the video without loading all the file.

This is useful for courses with a limited number of students that doesn't require a dedicated video server.


Testing : Upload a .mp4 in Files & Uploads, add a Video XBlock in a Unit. You can now load the end of the video without loading everything. I tested it on Chrome and Firefox for mp4 videos.
The current function (stream_data) uses chuncks of 1024 bytes and has no explanations of the constant, I continued with 1024, but I don't know why this was chosen. https://github.com/edx/edx-platform/blob/master/common/lib/xmodule/xmodule/contentstore/content.py#L163-L168