restored compatibility with iOS 6.0

- changed deployment target to iOS 6.0 in project settings
- check availability of sizeWithAttributes: (iOS 7) or fall back to sizeWithFont: