Add support for .xcdatamodel files (and fix space escaping for momc)

The recent update to copy_resources_script.rb has 2 issues:

1. It only supports .xcdatamodeld models
2. Model filenames containing spaces don't work

The attached patch fixes both issues.