model separated from server.js

see http://sequelizejs.com/articles/express
fixed association of basket<-basketitem->product
model fixes
fixed associations