Install Core Data model files correctly

Added support to compile Core Data model files before adding to the app bundle.
Merge pull request #795 from brutella/master

Add support for Core Data model