Reorder notes on edit
Updated osftools-doc
Added osftools.countNotes test, fixed crash bug with missing "notes" value
Removed dead code, fixed some jshint-errors and added semicolons
Fix collab-search in FF