Pin/unpin and save changes

Added pin/unpin on click, added save icon in note editor. Also fixed indents in src/js/views/notes.js