Fixed bug with __getstate__ of direct view model.
Merge pull request #9 from ihincks/master

Fixed bug with __getstate__ of direct view model.