Remove unused import
Clean up formatting, remove unused import
Fallback to mock geocoder

Yahoo has discontinued its Placefinder API, so we're switching to a
different geocoder that requires an API key. I can't think of a good way
to pass the API key to Travis CI without storing it in the repo. So,
I implemented a mock geocoder class that will be used if no geocoder is
specified via the ``STORYBASE_GEOCODER`` setting.

It's probably a good idea to mock the geocoder anyway so tests don't fail
if the endpoint goes down. In the case of the mock geocoder, we're just
testing that the routing to the geopy-based geocoder works correctly and
not the precision of the geocoder.

This fallback method allows us to run the tests with a specific geocoder
locally.

Addresses #700
Merge branch 'hotfix-700-switch_geocoder' into develop

Conflicts:
	README.rst
Adjust alert dismiss button markup/style

Use a button element for the dismiss button instead of a span.  Also,
position the dismiss button to the far right of the alert bar instead of
just to the right of the text.

Also remove the 1px white border from the builder header.

Addresses #548
Update required version of django-filer

Since the blocking issue is no longer relevant, use the stable version
from pypi instead of the development version on GitHub.
Merge pull request #701 from patternleaf/develop

Remove style-old.css from repo.
Don't show alert in alert bar on save

Instead of showing an alert in the alert bar when the story is saved,
just flash the last saved message in the upper-right-hand corner.

Also, flash the last saved message when assets are saved.

Addresses #548
Break alert colors into variables
Green background and text for last saved message

Addresses #548
Remove unused import
Wire up links to news items on homepage

Previously, there was no detail view for news items, so the homepage slider
items had non-functional title links.  With the content reorganization
(see f091a9e713331918782d89f1a15c3321aea4f77e), there is now a detail view
for news items, so the links in the homepage slider can now be wired up.

This also fixes a typo in ``NewsItem.get_absolute_url`` where the code
tries to reference ``self.last_updated`` instead of ``self.last_edited``.

Addresses #703
Merge branch 'hotfix-703-news_item_links' into develop

Conflicts:
	README.rst
Merge branch 'develop' into 548-more_subtle_save_alerts
Toggle save button style on save

Instead of flashing a last saved timestamp, change the button color to
green and the text to "Saved".

Addresses #548
Refine save button behavior

Toggle the ``disabled`` attribute on the button when it is displaying the
"Saved" message.

Use a modified version of the
[JavaScript Pretty Date] (http://ejohn.org/blog/javascript-pretty-date/)
function to format the timestamp in human readable form.

Use ``setInterval`` to continually update the timestamp.

Remove methods and code which wrote the timestamp to a separate element.

Addresses #548
Move search bar to top of map in explorer (#559).

Also tweak some spacing. May fix (though not confirmed) part of #501.
Use icons to indicate saving state

As suggested by @patternleaf, instead of turning the button green to
indicate a successful save, use a check mark icon.  This avoids the issue
raised by @jwirfs-brock about the green color compelling the user to click
the button when it's in the "saved" state.

This commit also introduces a "saving" state which the button goes into
when clicked to give the user some kind of instant feedback. The button
does not go into the "saving" state during an autosave because there isn't
presently any signal sent for all of the different content types to
indicate that a save is being initiated.

Addresses #548
Position last saved tooltip to the right

Position the last saved tooltip to the right of the save button instead
of above it, per @bpawlak's suggestion.

The position, as well as other options for the tooltipster jQuery plugin
can be passed via the ``tooltipOptions`` property of the options of
``LastSavedView``.

Addresses #548
Set min-width on save button

Set a min-width on the save button so it always takes up the same amount
of space regardless of state.  This helps alleviate some of the overlapping
tooltip behavior as the state changes.

Addresses #548