Added principal class and Xcode 5 compatible flag in TemplateInfo.plist