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.
replaced add note and add pinned note icons
added images
added more image files
Merge pull request #62 from HaleyB-E/replaceIcons

Replace icons
Replace star-gold with the correct one.
Editor now saves edited text.
Now beforeunload calls storeText rather than keydown
Changed a few things for consistency.
Fixed storeText
Merge pull request #61 from deannah/StoreEditText

Note contents in editor are saved when window is closed.