736 list inherit

Changed model.js to setup the correct model.list in cases of inheritance. Closes #736