iOS 6 compatibility

improve iOS 6 compatibility caused by `sizeWithAttributes:` which only
available on iOS 7
Merge pull request #15 from sergioutama/master

iOS 6 compatibility. Closes #13, closes #14, closes #15.