[qtdeclarative] Mark item as dirty when nodes are cleaned

Otherwise they may not be recreated in the correct configuration.
Merge pull request #29 from aaronkennedy/jb10101

[qtdeclarative] Mark item as dirty when nodes are cleaned