Fixed a bunch of lint issues and added documentation to note, page, presentation, resize and spreadsheet.