add support for backbone-localstorage

start refactoring to use backbone-relational