Intrinsic size

Add `intrinsicContentSize` method and fix iOS7 deprecation warning