added addAttribute action
abstracted very basic utils into untested modules
abstracted create note at caret and note barrier production
added some note finding utils in order to tidy up removeEmptyNodes
removed create note from selection module
formatting
removed skip from tests
remove leftover data block
rename findNoteSegmentBelow
renaming more funcitons
renamed note segment finders and renamed some tests
fixed typo
style and typo fixes
Merge pull request #40 from guardian/jp-refactor-note-toggle-2

Refactor note-toggle (part 2)