Add model destroy ability
Merge pull request #1515 from affektive/dependent_destory

Add model destroy ability