Borrowed code from bacbone-localstorage.js . Only override sync for the selected collection/model.