Lookup section thumbnail views by section cid

Closes #210

Section thumbnails weren't being stored in this._thumbnailViews when
the section was copied from the template.  That's because
this._thumbnailViews was being keyed by section.id, which isn't set
for the template sections because they weren't yet saved.  This fix
uses section.cid as the key for this._thumbnailViews when the section has
not yet been saved.
Merge branch 'hotfix-issue_210' into develop
Add '^' to beginning of URL patterns

Closes #234

Without the leading '^', paths like
/stories/workshop-11-why-do-we-tell-stories/viewer/ were matching the
story detail pattern ('stories/(?P<slug>[0-9a-z-]+)/$') instead of
the viewer one ('stories/(?P<slug>[0-9a-z-]+)/viewer/$).
Merge branch 'hotfix-issue_234' into develop
Re-delegate events on render

Closes #228

The story builder view's element is removed from the DOM when you switch
to any of the other workflow steps.  This causes the event bindings to be
lost.  So, we need to explicitly call delegateEvents().  In the long run
it might be better to just hide the view elements instead of removing them
from the DOM with the call to empty() in AppView.
Merge branch 'hotfix-issue_228' into develop
Avoid console.log/console.debug issues

Closes issue #230

Some browsers don't have a window.console object.  IE9 has a
window.console object, but no debug method.  I used HTML5
Boilerplate's code (in plugins.js) to help with this along with
an extra snippet to pass calls to console.debug to console.log
when console.debug doesn't exist.
Merge branch 'master' into develop
Make Backbone routing work without pushState

Partial fix for #235

IE9 (and likely some other browsers) don't support the pushState API,
so we need to make routing work both for real paths and hash-based paths.

In order to do this, we need to make the story ID work both as part of the
root and as part of the path.  This required defining the routes dynamically
in the router's initialize method instead of declaring them as a property.

As part of this commit, I backported the replacement of
storybase.utils.getValue with _.result from other branches to ease merging.
Merge branch 'hotfix-issue_235' into develop
bunch of template work
- #main was being duplicated on base template and page templates
- start moving to a custom 1000px 960grid where applicable
- re-org homepage intro as multiple placeholders rather than one big one (fixes #200)
- begin re-layout of story_detail based on prototype (incomplete in this commit)
- continued attempts to cleanup css
fixes #238
gridify and some cleanup of story detail page
add account menu right-aligned, megamenu-style, when logged in.
WorkflowStepView inherits from WorkflowNavView

Closes #212

A lot of the functionality for WorkflowStepView seemed related to
WorkflowNavView.  It cleaned things up to move the bulk of the functionality
into WorkflowNavView.  This commit also involves a general cleanup of
WorkflowNavView.
Move common functionality into ClickableItemsView

I renamed MenuView (or MenuItemsView, I can't remember the exact name)
to ClickableItemsView to better reflect its functionality.  ToolsView
seemed to share functionality with WorkflowNavView, so I moved the
common functionality to ClickableItemsView and made both WorkflowNavView
and ToolsView inherit from ClickableItemsView.
Preview story in new window.

Closes #209.
Hide asset list menu item when not in build
Merge branch 'hotfix-issue_212' into develop
Highlight inline-editable elements.

Closes #216