Hot fix for #1985 to make `generaterealdata` management command work.

Hi @aronasorman

Hot fix for #1985 to make `generaterealdata` management command work.
Hot fix to pass Travis tests by checking that `lang_name` has a value for dubbed video data on `get_dubbed_video_map()`.
Also includes hot fix related to #1253.
This overrides the previous commits on similar-named branch to cherry-pick final codes to remove the debug commits.