Removed build warning for -sizeWithFont usage on iOS 7 builds

I updated the usage of -sizeWithFont to -sizeWithAttributes to remove the build warning on iOS 7 targets. I made sure this was backwards compatible with iOS 6.x builds as well.