merging a better save +batch save 

merging a better save +batch save from the webkit-sql adapter