refactored. Fixed spelling of category and refactored additional methods of NSManagedObject subclasses into categories.
Merge pull request #1 from cjpearson/master

on categories and categories