asyncnoter: don't crash on validation when the user tries to edit an doc which does not exist
asyncnoter: moved clientside sharejs-code into its own file & reorganized clientside code
asyncnoter: fix osftools.fromHumanTime