Remove slice method on notes (added upstream).
Show notes in sorted order correctly.

This bug was one of the reasons note order was so unstable. It turns out
that the second argument to indexOf is the search offset, not an initial
guess.
The index option was removed from add.
Fix utils import in build system.
Make notes sortable.

You can drag from anywhere but clicking still works correctly.

closes #60
Set model id on save.

closes #34
Small cleanup.
Add ready method and autoFetch/autoFetchRelated

The ready method acts like jQuery's ready method. If it is called and
passed a function, it calls that function when the model as been
completely initialized (either now or later depending on model.isReady).

The autoFetch/autoFetchRelated attributes allow the coder to indicate
that a model should be fetched on load without having to pass options.
Make loading asynchrounous

Makes model loading more asynchrounous. Also makes the syncing state
less easily corruptable.
Bringing master up to date.
Editor now saves edited text.
Now beforeunload calls storeText rather than keydown