Add __autoreleasing to out parameters.

This isn't required, but is considered proper. http://amattn.com/2011/12/07/arc_best_practices.html
Provide a public persistent store coordinator.
Fix compiler and static analyzer warnings.