Update project with Xcode 5 recommended settings
Check the value of `error` before assigning to conform to NSError coding conventions