making sure has_file depends on whether or not the file is NOT currently uplaoding
adding note.file.has_data massaging in Sync.process_data. mitigates problems where a file will sync (and download) but *not* update the display.
making Files.upload/download interface consistent, fixing a missing object error, and making has_data setting more resilient against stupidity (goes along with the previous commit a bit)
adding a has_data check into the note model preview generation
removing vestigial junk