add sinon-chai
expose clientSync to make it testable
add tests for clientSync
don’t use options.data to set the payload
remove addApiParams
add test for serverSync
use model.toJSON to get the request data
use read instead of get as sync method

get is not a valid sync method in backbone
don’t omit the id
mentioned breaking changes in HISTORY.md
Merge pull request #273 from lusini/fix-clientSync-to-support-correct-json-payload

Fix client sync to support correct json payload