Set up edit function so it fills form with data that I'm trying to edit.
Fixed map function so it shows all items in couchdb.
Fixed save function so that when an item is saved it is in an array just like documents in couchdb.
Set up validation function.