added setDefaultModelFromClass for test purpose

Support for Xcode Unit Test.

Inspired by
http://www.cimgf.com/2012/05/15/unit-testing-with-core-data/ 
"Supporting Xcode’s Unit Test Support" Section