When the editor view closes, destroy the editor.

Otherwise Aloha.editables grows with stale editors.
When editor is loaded, place cursor at top so things work immediately.
Update aloha's selection object after cursor placement.
Merge branch 'master' into cursor-at-top-P61220688
Fix spelling mistake

Doesn't matter when executing the code, but it hurts to mispell it when you
search for it.
keep spine up to date
Move aloha cleanup code to onClose method.
Move focus function to higher level.

The focusing has do be done after the template is attached to the DOM,
otherwise it fails to activate correctly. It also has to be done after
the content is loaded and after the editor is created. To that end,
we also implement a simple handler that resolves a promise once the
editor is created.
Merge remote-tracking branch 'origin/master' into cursor-at-top-P61220688

Conflicts:
	scripts/views/workspace/content/layouts/editor.coffee
Added ctags updating script, for development purposes.
Avoid masking addChild, removeChild with treeMixin.
When deleting a book, avoid re-editing the same book.

This happens because the removeMe call becomes async on account of an
on-the-fly dependency to epub-container causing the delete to happen in
a callback, which means that when we select the next book to open, the old
one hasn't been deleted yet.
Hide the module title when editor is closed.

This includes a small improvement where the editor element is find through
traversal from @$el rather than a global jquery search. It also solves the
problem where deleting a module/book leaves the title hanging.
Add mathml proptery to all manifest items for epubjs
separate toc and bookshelf logic/templates
Use querySelectorAll to fetch title from opf

This works in chrome and firefox. Jquery could not find the title node
in firefox, reason not known at present.
Fix typo in new book template.

Unfortunately it means a great many books have their unique identifier stored
as an identifer.
Same firefox fix for book id as 7ce3a20b.
Add preview button to auth toolbar
some copy changes on signup, always prompt for repository if none is set