Implement auto save feature for items in each note.

Add item object to model and fix it's attributes

Fix the addition of notes

Refactor code to make ajax call into a method
Fix merge conflict and change static contenteditable generation to dynamic