gh437: Fix approve email message
gh437: Fixes for the approve/rejected task emails

We should use task.get_subtitle_version() instead of
task.new_subtitle_version.  With the TED tasks, you never know when
that attribute is actually set.
Fixed attribute error
Merge branch 'gh-436' into staging
Update integration repo

This integrates the change to import TED atom feeds
Merge branch 'gh-436' into staging
Merge branch 'staging' of github.com:pculture/unisubs into staging
Merge branch 'gh-436' into staging
Metadata test fix

The previous one had a race condition where it would sometimes work
and sometimes not.
add tests for checking emails after tasks accepted or sent back.
Merge pull request #689 from jdragojevic/wd-437

add tests for checking emails after tasks accepted or sent back.
Metadata format change.

Instead of a list of 2-tuples, just use a dict for metadata.  Dicts
are much nicer to use.  The reason to not do this was to preserve the
order that metadata that got added, but that seems very hypothetical
at this point.  Right now the only user of this feature is TED and
they only have 1 metadata field.

The only times the order will matter is when you're viewing it on a
page, and inside the editor.  For either case, I don't see it really
making much difference when order we display the metadata in.
Updated integration repo
Made new editor work with the new metadata format

Also fixed a bug where we didn't show metadata when editing the
initial version of a language.
add test for updating speaker-name metadata
Merge pull request #693 from pculture/metadata-format

Metadata format
Return medata in the widget RPC call.
View/Edit metadata in the new editor
Couple of other metadata changes:

Update the video metadata when the primary audio language gets
updated.

Fixed video.update_metadata() method.  Before it was only adding
values, not changing existing ones.
Merge pull request #694 from pculture/old-editor-metadata

Old editor metadata