Clean up indentation and formatting
initial work for #460. styling work still needed. also would be good to post a success/failure notification after publish/unpublish/delete action is executed.
some simply styling for form buttons in account story list.
Added template tag to generate full url

The ``url`` template tag only provides the path of the page, but not the
domain name.  For things like an embedable widget, we need the URL to
include the domain and the protocol.
Clean up full_url utility function

Use urllib.urlsplit for checking URL components and generating URLs and
also add support for schemaless URLs.
Allow saving of fullurl template tag value

This is needed to fully replace Story.get_full_url.  I had to switch from
using the simple_tag decorator to switching to a full custom tag
implementation.
Replace Story.get_full_url with fullurl

The template tag allows for a more generic solution
Embedable widget for stories

This implements the back-end code, and embedding Javascript for a story
widget.  A story can now be embedded with code like this:

        <a href="http://floodlightproject.org/stories/asdas-3/" class="storybase-story-embed" data-height="450">asdasa on Floodlight</a>
        <script src="http://floodlightproject.org/static/js/widgets.min.js" type="text/javascript"></script>

This code loads a Javascript (widgets.min.js) that dynamically hides the
placeholder link and adds an iframe of the widget HTML.  The widget HTML
is at the path /stories/STORY_SLUG_OR_ID/widget/ and is generated by
``storybase_story.views.StoryWidgetView``.  This commit also adds a
``story_embed`` template tag in the ``story`` tag library that will
generate the embed code like the one above.  The HTML is rendered by the
``storybase_story/story_embed.html`` template.

The widget view is styled by ``widget.less``/``widget.css`` which
contains a lot of code similar to the styles for the tile view of the
story explorer. At some point, it might make sense to refactor the LESS
styles to not have repeated styles, but at this point, I'm keeping them
separate for clarity and expedience, especially since the style of the
embedded widget seems something likely to change.

Note that when changing ``widget.less``, it needs to be compiled with
lessc to generate an updated ``widget.css``.  ``widgets.js`` needs to
be minified (I'm using Google Closure Compiler) to generate
``widgets.min.js``

Implements the back-end code for #459 (user story 40)
Merge branch 'develop' into embed_widget

Conflicts:
	apps/storybase/utils/__init__.py
Merge branch '460-my_account_additions' of https://github.com/patternleaf/atlas into patternleaf-460-my_account_additions

Conflicts:
	apps/storybase_story/urls.py
Refactor addthis widget rendering into a tag

Making the AddThis widget a template tag instead of an included template
removes some ugly logic in the templates that was needed to prepare the
context for the included template.  It also allows for one tag that
takes arguments for use in different contexts (different widget sizes,
including the JavaScript or not) different rather than having separate
templates for each (or having a bunch of logic in the template).

The big slow-down in doing this refactor was having to write a custom
template tag that supported keyword arguments.  If we were using Django
>=1.4, this wouldn't be hard since the inclusion tag helper supports
keyword arguments.

I added some utility functions in ``storybase.templatetags`` to help
with parsing keyword arguments in custom template tags.  They're
largely taken from http://djangosnippets.org/snippets/1113/.

This provides functionality for #459 and #475.
Add endpoint for sharing widget

This endpoint renders the contents of a story sharing widget, trying to
offer a DRY way to provide this content to both server-side Django and
client-side Backbone views.

This currently lives at /stories/SLUG_OR_ID/share-widget/.

This returns an HTML fragment rather than a full HTML page (though it might
make sense to conditionally wrap the output in an page HTML for other
use cases).  It is designed to be fetched via an asynchronous JavaScript
request.

Note that the AddThis JavaScript script tag is not included in the returned
code as it is assumed to be loaded and executed by the client JavaScript.
Wire in story search

I enabled the site-wide search form in the header. And overrode the default
Haystack search urlconf with a custom one, ``search_urls.py``.  The custom
urlconf mostly just uses ``SearchForm`` instead of ``ModelSearchForm``.

Since faceted search is handled by the story explorer, and the facet fields
have changed significantly than my original exploration of faceted search
at the beginning of the project, I removed the old custom forms and
querysets that I had implemented (and commented out) from the search forms.

I added some specific styles for the search results (in ``search.less``)
and made a first pass at a helper method to populate search result metadata
(``Story.search_result_metadata``) to remove metadata retrieval logic
from the search result template.

Implements part of #464 (user story number 295)
initial work on share button, with JS done jQuery-plugin style. basic visual styling. does not yet work within viewer. jQuery plugin code needs some refinement.
Paging for search results
Fix image width and alignment in search results
Make no results found message clear floated header
Put spaces between terms in search document

Keywords (tags) weren't working for in the search query.  I realized
that I wasn't putting spaces between the terms when creating the
document that Solr uses to index the stories.  This commits adds spaces
between terms in the template.
Show number of search results returned
Merge the topics and tag list in search results

Also, hide the label and make the tags links to a search for that tag
name.