Added defensive code to avoid using iOS8 only code

**Related issue:** https://github.com/SugarRecord/SugarRecord/issues/46
`setName:` selector on NSManagedObjectContext is only available on iOS 8

![image](https://s3.amazonaws.com/giphymedia/media/n2EMxTY9P3DJ6/giphy.gif)