Prevent moveToNextCell throwing exception when model is shared (#507)

Please don't edit lib/backgrid.js directly. Any chances should be done in the file inside src/ . The build process will regenerate lib/backgrid.js automatically.