using sharejs doc on server side when saving
Merge pull request #31 from marcofucci/master

using sharejs doc on server side when saving