new upload process

- add note, attach file
- encrypt file, save to local db
- when finished, SAVE NOTE, attach file hash to note's file object
  (notes not store all metadata about files, there is no 'files' table
  except to hold file contents)
- when note gets its id from the server, the file is then attached to
  that note in the API.

works great. at least, greater than before