Mock as_view when testing view class methods

Mock the ``as_view()`` method of a class-based view when
unit testing methods of a view class in order to properly
bind the view arguments and keyword arguments.

See http://tech.novapost.fr/django-unit-test-your-views-en.html
Fix broken JavaScript tests

Update tests to reflect changes made by #798, #765

Also remove a stray debug message.
Fix typo in password reset form template

Closes #849
Merge branch '849-typo_in_password_reset_template' into develop
RSS feed for stories

Add a new ``django.contrib.syndication.views.Feed`` subclass and
URL configuration for an RSS feed of recent stories and one for
recent stories filtered by Topic.

To try to correctly get the ``length`` attribute of the RSS item
enclosure, in our case the featured image file, expose the
featured asset's ``Thumbnail`` object (which, like all
Django file-like objects has a ``size`` attribute) via a new
method called ``LocalImageAsset.get_thumbnail``. Refactor
``LocalImageAsset.get_thumbnail_url`` to call this method.

Addresses #816
Use topic-exclude instead of topic-ne

Use ``topic-exclude`` as the querystring parameter for excluding
a topic from the story feed instead of ``topic-ne`` as it seems much
more human-readable and easy to remember.

Addresses #816
Correctly set the MIME type for story feed

``guess_type()`` returns a tuple.  Only return the first item
(the type).  Returning the tuple was causing the type to be shown
as "('image/jpeg', None)" in the feed and was causing validation
errors.

Addresses #816
Exclude connected stories from feed

Addresses #816
Reference correct profile fields in CSV export

Reference the proper profile fields for user notification settings
that were changed as requested in #811.

This is a regression introducted by
05c54cc587f113b37ed188c77d55a68297fe22cf.

Closes #859
Merge branch 'hotfix-859-user_info_export' into develop
Update default summary copy

Update default summary copy that shows up as a placeholder in the
builder so it encourages shorter (< 250 character) summaries.

Closes #858
Merge branch 'hotfix-858-summary_placeholder_text' into develop
Support oEmbeding instagram.com URLs

Previously, only instagra.am URLs were matched by the regex used
to set up Instagram as a provider with micawber.

Closes #860
Merge branch '860-instagram_oembed' into develop
Truncate story summaries in feed

Truncate story summary to 75 words, which is the same length as the
featured items on the homepage, in feeds.  This was needed because
long summaries didn't work well when pulling the feed in for
MailChimp integration.

Addresses #816
Merge branch '816-story_feed' into develop
Update changelog for #816
Fix "View Story" button URL for connected stories

Properly set the URL for connected stories for the "View Story" button
in the "Publish/Share" step of the builder.

To implement this, add a ``viewer_url`` method to the ``Story``
model, and a corresponding attribute to the response data of
``StoryResource``.

Also, refactor ``PublishedButtonsView`` to separate out the element
showing/hiding and rendering.  Also, re-render when the story's
``viewer_url`` attribute is changed.

Addresses #856
Handle connected story URLs in notification emails

Set the ``detail_url`` context variable to an empty string in the
case of a connected story and use the value of this variable
to hide certain content in the template that's related to a
story's detail page, which doesn't exist in the case of a
connected story.

Clean up indentation and simplify template markup in the
notification templates.

Fix whitespace in templates, especially the text templates.

Replace unicode apostrophe characters with ascii ones.

Default the greeting to say "Floodlight User" if an author's
first name hasn't been specified in their profile.

Add a ``builder_url`` variable to the template context

Addresses #856
Merge branch 'hotfix-856-connected_story_links' into develop

Fix for #856